Interface GetDifferencesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodeCommitResponse.Builder, CopyableBuilder<GetDifferencesResponse.Builder,GetDifferencesResponse>, SdkBuilder<GetDifferencesResponse.Builder,GetDifferencesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetDifferencesResponse

public static interface GetDifferencesResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<GetDifferencesResponse.Builder,GetDifferencesResponse>
  • Method Details

    • differences

      A data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M).

      Parameters:
      differences - A data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • differences

      GetDifferencesResponse.Builder differences(Difference... differences)

      A data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M).

      Parameters:
      differences - A data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • differences

      A data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M).

      This is a convenience method that creates an instance of the Difference.Builder avoiding the need to create one manually via Difference.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to differences(List<Difference>).

      Parameters:
      differences - a consumer that will call methods on Difference.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      GetDifferencesResponse.Builder nextToken(String nextToken)

      An enumeration token that can be used in a request to return the next batch of the results.

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