public static interface PostCommentForComparedCommitRequest.Builder extends CodeCommitRequest.Builder, CopyableBuilder<PostCommentForComparedCommitRequest.Builder,PostCommentForComparedCommitRequest>
Modifier and Type | Method and Description |
---|---|
PostCommentForComparedCommitRequest.Builder |
afterCommitId(String afterCommitId)
To establish the directionality of the comparison, the full commit ID of the 'after' commit.
|
PostCommentForComparedCommitRequest.Builder |
beforeCommitId(String beforeCommitId)
To establish the directionality of the comparison, the full commit ID of the 'before' commit.
|
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.
|
PostCommentForComparedCommitRequest.Builder |
content(String content)
The content of the comment you want to make.
|
default PostCommentForComparedCommitRequest.Builder |
location(Consumer<Location.Builder> location)
The location of the comparison where you want to comment.
|
PostCommentForComparedCommitRequest.Builder |
location(Location location)
The location of the comparison where you want to comment.
|
PostCommentForComparedCommitRequest.Builder |
repositoryName(String repositoryName)
The name of the repository where you want to post a comment on the comparison between commits.
|
PostCommentForComparedCommitRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
PostCommentForComparedCommitRequest.Builder repositoryName(String repositoryName)
The name of the repository where you want to post a comment on the comparison between commits.
repositoryName
- The name of the repository where you want to post a comment on the comparison between commits.PostCommentForComparedCommitRequest.Builder beforeCommitId(String beforeCommitId)
To establish the directionality of the comparison, the full commit ID of the 'before' commit.
beforeCommitId
- To establish the directionality of the comparison, the full commit ID of the 'before' commit.PostCommentForComparedCommitRequest.Builder afterCommitId(String afterCommitId)
To establish the directionality of the comparison, the full commit ID of the 'after' commit.
afterCommitId
- To establish the directionality of the comparison, the full commit ID of the 'after' commit.PostCommentForComparedCommitRequest.Builder location(Location location)
The location of the comparison where you want to comment.
location
- The location of the comparison where you want to comment.default PostCommentForComparedCommitRequest.Builder location(Consumer<Location.Builder> location)
The location of the comparison where you want to comment.
This is a convenience that creates an instance of theLocation.Builder
avoiding the need to create
one manually via Location.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to location(Location)
.location
- a consumer that will call methods on Location.Builder
location(Location)
PostCommentForComparedCommitRequest.Builder content(String content)
The content of the comment you want to make.
content
- The content of the comment you want to make.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 will return information about the initial request that used that token.
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 will return information about the initial request that used that token.PostCommentForComparedCommitRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.