Interface ListContentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListContentsResponse.Builder,,ListContentsResponse> SdkBuilder<ListContentsResponse.Builder,,ListContentsResponse> SdkPojo,SdkResponse.Builder,WisdomResponse.Builder
- Enclosing class:
ListContentsResponse
@Mutable
@NotThreadSafe
public static interface ListContentsResponse.Builder
extends WisdomResponse.Builder, SdkPojo, CopyableBuilder<ListContentsResponse.Builder,ListContentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontentSummaries(Collection<ContentSummary> contentSummaries) Information about the content.contentSummaries(Consumer<ContentSummary.Builder>... contentSummaries) Information about the content.contentSummaries(ContentSummary... contentSummaries) Information about the content.If there are additional results, this is the token 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.wisdom.model.WisdomResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
contentSummaries
Information about the content.
- Parameters:
contentSummaries- Information about the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentSummaries
Information about the content.
- Parameters:
contentSummaries- Information about the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentSummaries
Information about the content.
This is a convenience method that creates an instance of theContentSummary.Builderavoiding the need to create one manually viaContentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontentSummaries(List<ContentSummary>).- Parameters:
contentSummaries- a consumer that will call methods onContentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-