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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDifferencesResponse.Builderdifferences(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).GetDifferencesResponse.Builderdifferences(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).GetDifferencesResponse.Builderdifferences(Difference... differences)A data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M).GetDifferencesResponse.BuildernextToken(String nextToken)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, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
differences
GetDifferencesResponse.Builder differences(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).
- 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
GetDifferencesResponse.Builder 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).
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 to#differences(List.) - 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:
#differences(java.util.Collection)
-
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.
-
-