Interface ListIndicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListIndicesResponse.Builder,
,ListIndicesResponse> QBusinessResponse.Builder
,SdkBuilder<ListIndicesResponse.Builder,
,ListIndicesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListIndicesResponse
public static interface ListIndicesResponse.Builder
extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListIndicesResponse.Builder,ListIndicesResponse>
-
Method Summary
Modifier 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.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
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.
- 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.
-
indices
An 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.
-
indices
An 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.
-
indices
An array of information on the items in one or more indexes.
This is a convenience method that creates an instance of theIndex.Builder
avoiding the need to create one manually viaIndex.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toindices(List<Index>)
.- Parameters:
indices
- a consumer that will call methods onIndex.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-