public static interface CreateCommentResponse.Builder extends WorkDocsResponse.Builder, CopyableBuilder<CreateCommentResponse.Builder,CreateCommentResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateCommentResponse.Builder |
comment(Comment comment)
The comment that has been created.
|
default CreateCommentResponse.Builder |
comment(Consumer<Comment.Builder> comment)
The comment that has been created.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildCreateCommentResponse.Builder comment(Comment comment)
The comment that has been created.
comment - The comment that has been created.default CreateCommentResponse.Builder comment(Consumer<Comment.Builder> comment)
The comment that has been created.
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.