Interface UpdateCommentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<UpdateCommentResponse.Builder,
,UpdateCommentResponse> SdkBuilder<UpdateCommentResponse.Builder,
,UpdateCommentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateCommentResponse
public static interface UpdateCommentResponse.Builder
extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<UpdateCommentResponse.Builder,UpdateCommentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateCommentResponse.Builder
comment
(Consumer<Comment.Builder> comment) Information about the updated comment.Information about the updated 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 Details
-
comment
Information about the updated comment.
- Parameters:
comment
- Information about the updated comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
Information about the updated comment.
This is a convenience method that creates an instance of theComment.Builder
avoiding the need to create one manually viaComment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomment(Comment)
.- Parameters:
comment
- a consumer that will call methods onComment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-