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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCommentReactionsResponse.BuildernextToken(String nextToken)An enumeration token that can be used in a request to return the next batch of the results.GetCommentReactionsResponse.BuilderreactionsForComment(Collection<ReactionForComment> reactionsForComment)An array of reactions to the specified comment.GetCommentReactionsResponse.BuilderreactionsForComment(Consumer<ReactionForComment.Builder>... reactionsForComment)An array of reactions to the specified comment.GetCommentReactionsResponse.BuilderreactionsForComment(ReactionForComment... reactionsForComment)An array of reactions to the specified comment.-
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 Detail
-
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
GetCommentReactionsResponse.Builder reactionsForComment(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
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 to#reactionsForComment(List.) - 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:
#reactionsForComment(java.util.Collection)
-
nextToken
GetCommentReactionsResponse.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.
-
-