Interface ListCommentsResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListCommentsResponse.Builder,,ListCommentsResponse> SdkBuilder<ListCommentsResponse.Builder,,ListCommentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCommentsResponse
@Mutable
@NotThreadSafe
public static interface ListCommentsResponse.Builder
extends AssuranceResponse.Builder, SdkPojo, CopyableBuilder<ListCommentsResponse.Builder,ListCommentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncomments(Collection<CommentSummary> comments) The list of comments.comments(Consumer<CommentSummary.Builder>... comments) The list of comments.comments(CommentSummary... comments) The list of comments.The pagination token returned by a previous request.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
comments
The list of comments.
- Parameters:
comments- The list of comments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comments
The list of comments.
- Parameters:
comments- The list of comments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comments
The list of comments.
This is a convenience method that creates an instance of theCommentSummary.Builderavoiding the need to create one manually viaCommentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomments(List<CommentSummary>).- Parameters:
comments- a consumer that will call methods onCommentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.
- Parameters:
nextToken- The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-