Interface ListContentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListContentsResponse.Builder,ListContentsResponse>,SdkBuilder<ListContentsResponse.Builder,ListContentsResponse>,SdkPojo,SdkResponse.Builder,WisdomResponse.Builder
- Enclosing class:
- ListContentsResponse
public static interface ListContentsResponse.Builder extends WisdomResponse.Builder, SdkPojo, CopyableBuilder<ListContentsResponse.Builder,ListContentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListContentsResponse.BuildercontentSummaries(Collection<ContentSummary> contentSummaries)Information about the content.ListContentsResponse.BuildercontentSummaries(Consumer<ContentSummary.Builder>... contentSummaries)Information about the content.ListContentsResponse.BuildercontentSummaries(ContentSummary... contentSummaries)Information about the content.ListContentsResponse.BuildernextToken(String nextToken)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
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.wisdom.model.WisdomResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
contentSummaries
ListContentsResponse.Builder contentSummaries(Collection<ContentSummary> 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
ListContentsResponse.Builder contentSummaries(ContentSummary... 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
ListContentsResponse.Builder contentSummaries(Consumer<ContentSummary.Builder>... 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 to#contentSummaries(List.) - 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:
#contentSummaries(java.util.Collection)
-
nextToken
ListContentsResponse.Builder nextToken(String 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.
-
-