Interface ListIndicesResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListIndicesResponse.Builder,,- ListIndicesResponse> - QBusinessResponse.Builder,- SdkBuilder<ListIndicesResponse.Builder,,- ListIndicesResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListIndicesResponse
@Mutable
@NotThreadSafe
public static interface ListIndicesResponse.Builder
extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListIndicesResponse.Builder,ListIndicesResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionindices(Collection<Index> indices) An array of information on the items in one or more indexes.indices(Consumer<Index.Builder>... indices) An array of information on the items in one or more indexes.An array of information on the items in one or more indexes.If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of indexes.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- 
nextTokenIf the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of indexes. - Parameters:
- nextToken- If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of indexes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
indicesAn array of information on the items in one or more indexes. - Parameters:
- indices- An array of information on the items in one or more indexes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
indicesAn array of information on the items in one or more indexes. - Parameters:
- indices- An array of information on the items in one or more indexes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
indicesAn array of information on the items in one or more indexes. This is a convenience method that creates an instance of theIndex.Builderavoiding the need to create one manually viaIndex.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toindices(List<Index>).- Parameters:
- indices- a consumer that will call methods on- Index.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-