Interface PostCommentForComparedCommitRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeCommitRequest.Builder,CopyableBuilder<PostCommentForComparedCommitRequest.Builder,PostCommentForComparedCommitRequest>,SdkBuilder<PostCommentForComparedCommitRequest.Builder,PostCommentForComparedCommitRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PostCommentForComparedCommitRequest
public static interface PostCommentForComparedCommitRequest.Builder extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<PostCommentForComparedCommitRequest.Builder,PostCommentForComparedCommitRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PostCommentForComparedCommitRequest.BuilderafterCommitId(String afterCommitId)To establish the directionality of the comparison, the full commit ID of the after commit.PostCommentForComparedCommitRequest.BuilderbeforeCommitId(String beforeCommitId)To establish the directionality of the comparison, the full commit ID of the before commit.PostCommentForComparedCommitRequest.BuilderclientRequestToken(String clientRequestToken)A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter.PostCommentForComparedCommitRequest.Buildercontent(String content)The content of the comment you want to make.default PostCommentForComparedCommitRequest.Builderlocation(Consumer<Location.Builder> location)The location of the comparison where you want to comment.PostCommentForComparedCommitRequest.Builderlocation(Location location)The location of the comparison where you want to comment.PostCommentForComparedCommitRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PostCommentForComparedCommitRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PostCommentForComparedCommitRequest.BuilderrepositoryName(String repositoryName)The name of the repository where you want to post a comment on the comparison between 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
repositoryName
PostCommentForComparedCommitRequest.Builder repositoryName(String repositoryName)
The name of the repository where you want to post a comment on the comparison between commits.
- Parameters:
repositoryName- The name of the repository where you want to post a comment on the comparison between commits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beforeCommitId
PostCommentForComparedCommitRequest.Builder beforeCommitId(String beforeCommitId)
To establish the directionality of the comparison, the full commit ID of the before commit. Required for commenting on any commit unless that commit is the initial commit.
- Parameters:
beforeCommitId- To establish the directionality of the comparison, the full commit ID of the before commit. Required for commenting on any commit unless that commit is the initial commit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterCommitId
PostCommentForComparedCommitRequest.Builder afterCommitId(String 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.
-
location
PostCommentForComparedCommitRequest.Builder location(Location location)
The location of the comparison where you want to comment.
- Parameters:
location- The location of the comparison where you want to comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
default PostCommentForComparedCommitRequest.Builder location(Consumer<Location.Builder> location)
The location of the comparison where you want to comment.
This is a convenience method that creates an instance of theLocation.Builderavoiding the need to create one manually viaLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocation(Location).- Parameters:
location- a consumer that will call methods onLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
location(Location)
-
content
PostCommentForComparedCommitRequest.Builder content(String content)
The content of the comment you want to make.
- Parameters:
content- The content of the comment you want to make.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
PostCommentForComparedCommitRequest.Builder clientRequestToken(String clientRequestToken)
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
- Parameters:
clientRequestToken- A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PostCommentForComparedCommitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PostCommentForComparedCommitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-