Interface GetDifferencesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeCommitRequest.Builder,CopyableBuilder<GetDifferencesRequest.Builder,,GetDifferencesRequest> SdkBuilder<GetDifferencesRequest.Builder,,GetDifferencesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetDifferencesRequest
-
Method Summary
Modifier and TypeMethodDescriptionafterCommitSpecifier(String afterCommitSpecifier) The branch, tag, HEAD, or other fully qualified reference used to identify a commit.The file path in which to check differences.beforeCommitSpecifier(String beforeCommitSpecifier) The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, the full commit ID).beforePath(String beforePath) The file path in which to check for differences.maxResults(Integer maxResults) A non-zero, non-negative integer used to limit the number of returned results.An enumeration token that, when provided in a request, returns the next batch of the results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.repositoryName(String repositoryName) The name of the repository where you want to get differences.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
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
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
afterCommitSpecifiervalue are shown. If you do not usebeforeCommitSpecifierin your request, consider limiting the results withmaxResults.- 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 theafterCommitSpecifiervalue are shown. If you do not usebeforeCommitSpecifierin your request, consider limiting the results withmaxResults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
beforePathandafterPathare 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. IfbeforePathandafterPathare not specified, differences are shown for all paths.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetDifferencesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-