Interface ListIndexesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListIndexesResponse.Builder,
,ListIndexesResponse> ResourceExplorer2Response.Builder
,SdkBuilder<ListIndexesResponse.Builder,
,ListIndexesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListIndexesResponse
@Mutable
@NotThreadSafe
public static interface ListIndexesResponse.Builder
extends ResourceExplorer2Response.Builder, SdkPojo, CopyableBuilder<ListIndexesResponse.Builder,ListIndexesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionindexes
(Collection<Index> indexes) A structure that contains the details and status of each index.indexes
(Consumer<Index.Builder>... indexes) A structure that contains the details and status of each index.A structure that contains the details and status of each index.If present, indicates that more output is available than is included in the current response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.resourceexplorer2.model.ResourceExplorer2Response.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
indexes
A structure that contains the details and status of each index.
- Parameters:
indexes
- A structure that contains the details and status of each index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexes
A structure that contains the details and status of each index.
- Parameters:
indexes
- A structure that contains the details and status of each index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexes
A structure that contains the details and status of each index.
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 toindexes(List<Index>)
.- Parameters:
indexes
- 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:
-
nextToken
If present, indicates that more output is available than is included in the current response. Use this value in the
NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextToken
response element comes back asnull
. The pagination tokens expire after 24 hours.- Parameters:
nextToken
- If present, indicates that more output is available than is included in the current response. Use this value in theNextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextToken
response element comes back asnull
. The pagination tokens expire after 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-