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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitRequest.Builder
build
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, 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-