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 Summary
Modifier and TypeMethodDescriptiondifferences(Collection<Difference> differences) A data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M).differences(Consumer<Difference.Builder>... differences) A data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M).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).An enumeration token that can be used in a request to return the next batch of the results.Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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 theDifference.Builderavoiding the need to create one manually viaDifference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todifferences(List<Difference>).- Parameters:
differences- a consumer that will call methods onDifference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-