Interface DescribeCommentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCommentsResponse.Builder,,DescribeCommentsResponse> SdkBuilder<DescribeCommentsResponse.Builder,,DescribeCommentsResponse> SdkPojo,SdkResponse.Builder,WorkDocsResponse.Builder
- Enclosing class:
DescribeCommentsResponse
@Mutable
@NotThreadSafe
public static interface DescribeCommentsResponse.Builder
extends WorkDocsResponse.Builder, SdkPojo, CopyableBuilder<DescribeCommentsResponse.Builder,DescribeCommentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncomments(Collection<Comment> comments) The list of comments for the specified document version.comments(Consumer<Comment.Builder>... comments) The list of comments for the specified document version.The list of comments for the specified document version.The marker for the next set of results.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
-
comments
The list of comments for the specified document version.
- Parameters:
comments- The list of comments for the specified document version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comments
The list of comments for the specified document version.
- Parameters:
comments- The list of comments for the specified document version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comments
The list of comments for the specified document version.
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 tocomments(List<Comment>).- Parameters:
comments- 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:
-
marker
The marker for the next set of results. This marker was received from a previous call.
- Parameters:
marker- The marker for the next set of results. This marker was received from a previous call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-