Interface CreateCommentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateCommentResponse.Builder,,CreateCommentResponse> SdkBuilder<CreateCommentResponse.Builder,,CreateCommentResponse> SdkPojo,SdkResponse.Builder,WorkDocsResponse.Builder
- Enclosing class:
CreateCommentResponse
@Mutable
@NotThreadSafe
public static interface CreateCommentResponse.Builder
extends WorkDocsResponse.Builder, SdkPojo, CopyableBuilder<CreateCommentResponse.Builder,CreateCommentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateCommentResponse.Buildercomment(Consumer<Comment.Builder> comment) The comment that has been created.The comment that has been created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
comment
The comment that has been created.
- Parameters:
comment- The comment that has been created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
The comment that has been created.
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:
-