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
Modifier and TypeMethodDescriptioncontentSummaries
(Collection<ContentSummary> contentSummaries) Summary information about the content.contentSummaries
(Consumer<ContentSummary.Builder>... contentSummaries) Summary information about the content.contentSummaries
(ContentSummary... contentSummaries) Summary 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
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 Details
-
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
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.Builder
avoiding the need to create one manually viaContentSummary.builder()
.When the
Consumer
completes,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.
-