Interface DescribeCommentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCommentsResponse.Builder,DescribeCommentsResponse>,SdkBuilder<DescribeCommentsResponse.Builder,DescribeCommentsResponse>,SdkPojo,SdkResponse.Builder,WorkDocsResponse.Builder
- Enclosing class:
- DescribeCommentsResponse
public static interface DescribeCommentsResponse.Builder extends WorkDocsResponse.Builder, SdkPojo, CopyableBuilder<DescribeCommentsResponse.Builder,DescribeCommentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeCommentsResponse.Buildercomments(Collection<Comment> comments)The list of comments for the specified document version.DescribeCommentsResponse.Buildercomments(Consumer<Comment.Builder>... comments)The list of comments for the specified document version.DescribeCommentsResponse.Buildercomments(Comment... comments)The list of comments for the specified document version.DescribeCommentsResponse.Buildermarker(String marker)The marker for the next set of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
comments
DescribeCommentsResponse.Builder comments(Collection<Comment> 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
DescribeCommentsResponse.Builder comments(Comment... 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
DescribeCommentsResponse.Builder comments(Consumer<Comment.Builder>... 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 to#comments(List.) - 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:
#comments(java.util.Collection)
-
marker
DescribeCommentsResponse.Builder marker(String 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.
-
-