Interface GetDifferencesRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CodeCommitRequest.Builder, CopyableBuilder<GetDifferencesRequest.Builder,GetDifferencesRequest>, SdkBuilder<GetDifferencesRequest.Builder,GetDifferencesRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetDifferencesRequest

public static interface GetDifferencesRequest.Builder extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<GetDifferencesRequest.Builder,GetDifferencesRequest>
  • Method Details

    • repositoryName

      GetDifferencesRequest.Builder repositoryName(String repositoryName)

      The name of the repository where you want to get differences.

      Parameters:
      repositoryName - The name of the repository where you want to get differences.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • beforeCommitSpecifier

      GetDifferencesRequest.Builder beforeCommitSpecifier(String beforeCommitSpecifier)

      The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, the full commit ID). Optional. If not specified, all changes before the afterCommitSpecifier value are shown. If you do not use beforeCommitSpecifier in your request, consider limiting the results with maxResults.

      Parameters:
      beforeCommitSpecifier - The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, the full commit ID). Optional. If not specified, all changes before the afterCommitSpecifier value are shown. If you do not use beforeCommitSpecifier in your request, consider limiting the results with maxResults.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • afterCommitSpecifier

      GetDifferencesRequest.Builder afterCommitSpecifier(String afterCommitSpecifier)

      The branch, tag, HEAD, or other fully qualified reference used to identify a commit.

      Parameters:
      afterCommitSpecifier - The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • beforePath

      GetDifferencesRequest.Builder beforePath(String beforePath)

      The file path in which to check for differences. Limits the results to this path. Can also be used to specify the previous name of a directory or folder. If beforePath and afterPath are not specified, differences are shown for all paths.

      Parameters:
      beforePath - The file path in which to check for differences. Limits the results to this path. Can also be used to specify the previous name of a directory or folder. If beforePath and afterPath are not specified, differences are shown for all paths.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • afterPath

      GetDifferencesRequest.Builder afterPath(String afterPath)

      The file path in which to check differences. Limits the results to this path. Can also be used to specify the changed name of a directory or folder, if it has changed. If not specified, differences are shown for all paths.

      Parameters:
      afterPath - The file path in which to check differences. Limits the results to this path. Can also be used to specify the changed name of a directory or folder, if it has changed. If not specified, differences are shown for all paths.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      GetDifferencesRequest.Builder maxResults(Integer maxResults)

      A non-zero, non-negative integer used to limit the number of returned results.

      Parameters:
      maxResults - A non-zero, non-negative integer used to limit the number of returned results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      GetDifferencesRequest.Builder nextToken(String nextToken)

      An enumeration token that, when provided in a request, returns the next batch of the results.

      Parameters:
      nextToken - An enumeration token that, when provided in a request, returns the next batch of the results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      GetDifferencesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.