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, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetCommentResponse.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.Builder
comment(Comment)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.