Interface GetCommentsForComparedCommitResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<GetCommentsForComparedCommitResponse.Builder,
,GetCommentsForComparedCommitResponse> SdkBuilder<GetCommentsForComparedCommitResponse.Builder,
,GetCommentsForComparedCommitResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCommentsForComparedCommitResponse
public static interface GetCommentsForComparedCommitResponse.Builder
extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<GetCommentsForComparedCommitResponse.Builder,GetCommentsForComparedCommitResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncommentsForComparedCommitData
(Collection<CommentsForComparedCommit> commentsForComparedCommitData) A list of comment objects on the compared commit.commentsForComparedCommitData
(Consumer<CommentsForComparedCommit.Builder>... commentsForComparedCommitData) A list of comment objects on the compared commit.commentsForComparedCommitData
(CommentsForComparedCommit... commentsForComparedCommitData) A list of comment objects on the compared commit.An enumeration token that can be used in a request to return the next batch of the results.Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
commentsForComparedCommitData
GetCommentsForComparedCommitResponse.Builder commentsForComparedCommitData(Collection<CommentsForComparedCommit> commentsForComparedCommitData) A list of comment objects on the compared commit.
- Parameters:
commentsForComparedCommitData
- A list of comment objects on the compared commit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commentsForComparedCommitData
GetCommentsForComparedCommitResponse.Builder commentsForComparedCommitData(CommentsForComparedCommit... commentsForComparedCommitData) A list of comment objects on the compared commit.
- Parameters:
commentsForComparedCommitData
- A list of comment objects on the compared commit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commentsForComparedCommitData
GetCommentsForComparedCommitResponse.Builder commentsForComparedCommitData(Consumer<CommentsForComparedCommit.Builder>... commentsForComparedCommitData) A list of comment objects on the compared commit.
This is a convenience method that creates an instance of theCommentsForComparedCommit.Builder
avoiding the need to create one manually viaCommentsForComparedCommit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommentsForComparedCommitData(List<CommentsForComparedCommit>)
.- Parameters:
commentsForComparedCommitData
- a consumer that will call methods onCommentsForComparedCommit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An enumeration token that can be used in a request to return the next batch of the results.
- Parameters:
nextToken
- An enumeration token that can be used in a request to return the next batch of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-