Interface GetBlobDifferencesRequest.Builder

  • Method Details

    • repositoryName

      GetBlobDifferencesRequest.Builder repositoryName(String repositoryName)

      The name of the repository that contains the blobs to compare.

      Parameters:
      repositoryName - The name of the repository that contains the blobs to compare.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • afterBlobId

      GetBlobDifferencesRequest.Builder afterBlobId(String afterBlobId)

      The ID of the "after" (destination) blob in the diff. Typically the value of afterBlob.blobId from a Difference object returned by GetDifferences.

      Parameters:
      afterBlobId - The ID of the "after" (destination) blob in the diff. Typically the value of afterBlob.blobId from a Difference object returned by GetDifferences.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • beforeBlobId

      GetBlobDifferencesRequest.Builder beforeBlobId(String beforeBlobId)

      The ID of the "before" (source) blob in the diff. Typically the value of beforeBlob.blobId from a Difference object returned by GetDifferences.

      If you do not specify a value, the operation returns a diff against an empty before-state. This is equivalent to treating the file as newly added.

      Parameters:
      beforeBlobId - The ID of the "before" (source) blob in the diff. Typically the value of beforeBlob.blobId from a Difference object returned by GetDifferences.

      If you do not specify a value, the operation returns a diff against an empty before-state. This is equivalent to treating the file as newly added.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contextLines

      GetBlobDifferencesRequest.Builder contextLines(Integer contextLines)

      The number of unchanged lines of context to include before and after each block of changes in a hunk. Valid values are 0 through 20. Defaults to 3.

      Parameters:
      contextLines - The number of unchanged lines of context to include before and after each block of changes in a hunk. Valid values are 0 through 20. Defaults to 3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ignoreWhitespace

      GetBlobDifferencesRequest.Builder ignoreWhitespace(Boolean ignoreWhitespace)

      Specifies whether to ignore whitespace-only changes when computing the diff. When true, the operation treats lines that differ only in whitespace as unchanged. Defaults to false.

      Parameters:
      ignoreWhitespace - Specifies whether to ignore whitespace-only changes when computing the diff. When true, the operation treats lines that differ only in whitespace as unchanged. Defaults to false .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      The maximum number of DiffHunk entries to return in a single response page. Defaults to 100.

      Parameters:
      maxResults - The maximum number of DiffHunk entries to return in a single response page. Defaults to 100.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

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

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

      GetBlobDifferencesRequest.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.