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
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
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 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.Builder
avoiding the need to create one manually viaComment.builder()
.When the
Consumer
completes,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.
-