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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsResponse.Builderbuild, responseMetadata, responseMetadata
- 
Method Details- 
commentThe 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.
 
- 
commentThe 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 on- Comment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-