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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListIndicesResponse.Builderindices(Collection<Index> indices)An array of information on the items in one or more indexes.ListIndicesResponse.Builderindices(Consumer<Index.Builder>... indices)An array of information on the items in one or more indexes.ListIndicesResponse.Builderindices(Index... indices)An array of information on the items in one or more indexes.ListIndicesResponse.BuildernextToken(String nextToken)If the response is truncated, Amazon Q 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 Detail
-
indices
ListIndicesResponse.Builder indices(Collection<Index> 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
ListIndicesResponse.Builder indices(Index... 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
ListIndicesResponse.Builder indices(Consumer<Index.Builder>... indices)
An 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 to#indices(List.) - 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:
#indices(java.util.Collection)
-
nextToken
ListIndicesResponse.Builder nextToken(String nextToken)
If the response is truncated, Amazon Q 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 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.
-
-