public static interface GetCommentResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<GetCommentResponse.Builder,GetCommentResponse>
| Modifier and Type | Method and Description |
|---|---|
GetCommentResponse.Builder |
comment(Comment comment)
The contents of the comment.
|
default GetCommentResponse.Builder |
comment(Consumer<Comment.Builder> comment)
The contents of the comment.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCommentResponse.Builder comment(Comment comment)
The contents of the comment.
comment - The contents of the comment.default GetCommentResponse.Builder comment(Consumer<Comment.Builder> comment)
The contents of the comment.
This is a convenience method that creates an instance of theComment.Builder avoiding the need to
create one manually via Comment.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to comment(Comment).
comment - a consumer that will call methods on Comment.Buildercomment(Comment)Copyright © 2023. All rights reserved.