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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateCommentResponse.Buildercomment(Consumer<Comment.Builder> comment)Information about the updated comment.UpdateCommentResponse.Buildercomment(Comment 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
comment
UpdateCommentResponse.Builder comment(Comment 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
default UpdateCommentResponse.Builder comment(Consumer<Comment.Builder> comment)
Information about the updated comment.
This is a convenience method that creates an instance of theComment.Builderavoiding the need to create one manually viaComment.builder().When the
Consumercompletes,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:
comment(Comment)
-
-