Interface GetCommentReactionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<GetCommentReactionsResponse.Builder,,GetCommentReactionsResponse> SdkBuilder<GetCommentReactionsResponse.Builder,,GetCommentReactionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetCommentReactionsResponse
public static interface GetCommentReactionsResponse.Builder
extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<GetCommentReactionsResponse.Builder,GetCommentReactionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn enumeration token that can be used in a request to return the next batch of the results.reactionsForComment(Collection<ReactionForComment> reactionsForComment) An array of reactions to the specified comment.reactionsForComment(Consumer<ReactionForComment.Builder>... reactionsForComment) An array of reactions to the specified comment.reactionsForComment(ReactionForComment... reactionsForComment) An array of reactions to the specified comment.Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
reactionsForComment
GetCommentReactionsResponse.Builder reactionsForComment(Collection<ReactionForComment> reactionsForComment) An array of reactions to the specified comment.
- Parameters:
reactionsForComment- An array of reactions to the specified comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reactionsForComment
An array of reactions to the specified comment.
- Parameters:
reactionsForComment- An array of reactions to the specified comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reactionsForComment
GetCommentReactionsResponse.Builder reactionsForComment(Consumer<ReactionForComment.Builder>... reactionsForComment) An array of reactions to the specified comment.
This is a convenience method that creates an instance of theReactionForComment.Builderavoiding the need to create one manually viaReactionForComment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreactionsForComment(List<ReactionForComment>).- Parameters:
reactionsForComment- a consumer that will call methods onReactionForComment.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.
-