public static interface GetCommentResponse.Builder extends CodeCommitResponse.Builder, 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.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, 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 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.