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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCommentsForComparedCommitResponse.BuildercommentsForComparedCommitData(Collection<CommentsForComparedCommit> commentsForComparedCommitData)A list of comment objects on the compared commit.GetCommentsForComparedCommitResponse.BuildercommentsForComparedCommitData(Consumer<CommentsForComparedCommit.Builder>... commentsForComparedCommitData)A list of comment objects on the compared commit.GetCommentsForComparedCommitResponse.BuildercommentsForComparedCommitData(CommentsForComparedCommit... commentsForComparedCommitData)A list of comment objects on the compared commit.GetCommentsForComparedCommitResponse.BuildernextToken(String nextToken)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaCommentsForComparedCommit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#commentsForComparedCommitData(List.) - 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:
#commentsForComparedCommitData(java.util.Collection)
-
nextToken
GetCommentsForComparedCommitResponse.Builder nextToken(String 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.
-
-