Interface GetCommentsForComparedCommitRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeCommitRequest.Builder,CopyableBuilder<GetCommentsForComparedCommitRequest.Builder,,GetCommentsForComparedCommitRequest> SdkBuilder<GetCommentsForComparedCommitRequest.Builder,,GetCommentsForComparedCommitRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetCommentsForComparedCommitRequest
public static interface GetCommentsForComparedCommitRequest.Builder
extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<GetCommentsForComparedCommitRequest.Builder,GetCommentsForComparedCommitRequest>
-
Method Summary
Modifier and TypeMethodDescriptionafterCommitId(String afterCommitId) To establish the directionality of the comparison, the full commit ID of the after commit.beforeCommitId(String beforeCommitId) To establish the directionality of the comparison, the full commit ID of the before commit.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 compare commits.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 compare commits.
- Parameters:
repositoryName- The name of the repository where you want to compare commits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beforeCommitId
To establish the directionality of the comparison, the full commit ID of the before commit.
- Parameters:
beforeCommitId- To establish the directionality of the comparison, the full commit ID of the before commit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterCommitId
To establish the directionality of the comparison, the full commit ID of the after commit.
- Parameters:
afterCommitId- To establish the directionality of the comparison, the full commit ID of the after commit.- 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.
-
maxResults
A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments, but you can configure up to 500.
- Parameters:
maxResults- A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments, but you can configure up to 500.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetCommentsForComparedCommitRequest.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
GetCommentsForComparedCommitRequest.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.
-