Interface SearchRelevantContentResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<SearchRelevantContentResponse.Builder,,- SearchRelevantContentResponse> - QBusinessResponse.Builder,- SdkBuilder<SearchRelevantContentResponse.Builder,,- SearchRelevantContentResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- SearchRelevantContentResponse
@Mutable
@NotThreadSafe
public static interface SearchRelevantContentResponse.Builder
extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<SearchRelevantContentResponse.Builder,SearchRelevantContentResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionThe token to use to retrieve the next set of results, if there are any.relevantContent(Collection<RelevantContent> relevantContent) The list of relevant content items found.relevantContent(Consumer<RelevantContent.Builder>... relevantContent) The list of relevant content items found.relevantContent(RelevantContent... relevantContent) The list of relevant content items found.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
relevantContentThe list of relevant content items found. - Parameters:
- relevantContent- The list of relevant content items found.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
relevantContentThe list of relevant content items found. - Parameters:
- relevantContent- The list of relevant content items found.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
relevantContentSearchRelevantContentResponse.Builder relevantContent(Consumer<RelevantContent.Builder>... relevantContent) The list of relevant content items found. This is a convenience method that creates an instance of theRelevantContent.Builderavoiding the need to create one manually viaRelevantContent.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torelevantContent(List<RelevantContent>).- Parameters:
- relevantContent- a consumer that will call methods on- RelevantContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenThe token to use to retrieve the next set of results, if there are any. - Parameters:
- nextToken- The token to use to retrieve the next set of results, if there are any.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-