Interface SearchContentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchContentResponse.Builder,SearchContentResponse>,SdkBuilder<SearchContentResponse.Builder,SearchContentResponse>,SdkPojo,SdkResponse.Builder,WisdomResponse.Builder
- Enclosing class:
- SearchContentResponse
public static interface SearchContentResponse.Builder extends WisdomResponse.Builder, SdkPojo, CopyableBuilder<SearchContentResponse.Builder,SearchContentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchContentResponse.BuildercontentSummaries(Collection<ContentSummary> contentSummaries)Summary information about the content.SearchContentResponse.BuildercontentSummaries(Consumer<ContentSummary.Builder>... contentSummaries)Summary information about the content.SearchContentResponse.BuildercontentSummaries(ContentSummary... contentSummaries)Summary information about the content.SearchContentResponse.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, sdkFieldNameToField, 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
SearchContentResponse.Builder contentSummaries(Collection<ContentSummary> contentSummaries)
Summary information about the content.
- Parameters:
contentSummaries- Summary information about the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentSummaries
SearchContentResponse.Builder contentSummaries(ContentSummary... contentSummaries)
Summary information about the content.
- Parameters:
contentSummaries- Summary information about the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentSummaries
SearchContentResponse.Builder contentSummaries(Consumer<ContentSummary.Builder>... contentSummaries)
Summary 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
SearchContentResponse.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.
-
-