Interface ListServiceIndexesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListServiceIndexesResponse.Builder,
,ListServiceIndexesResponse> ResourceExplorer2Response.Builder
,SdkBuilder<ListServiceIndexesResponse.Builder,
,ListServiceIndexesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListServiceIndexesResponse
@Mutable
@NotThreadSafe
public static interface ListServiceIndexesResponse.Builder
extends ResourceExplorer2Response.Builder, SdkPojo, CopyableBuilder<ListServiceIndexesResponse.Builder,ListServiceIndexesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionindexes
(Collection<Index> indexes) A list ofIndex
objects that describe the Resource Explorer indexes found in the specified Regions.indexes
(Consumer<Index.Builder>... indexes) A list ofIndex
objects that describe the Resource Explorer indexes found in the specified Regions.A list ofIndex
objects that describe the Resource Explorer indexes found in the specified Regions.The pagination token to use in a subsequentListServiceIndexes
request to retrieve the next set of results.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 list of
Index
objects that describe the Resource Explorer indexes found in the specified Regions.- Parameters:
indexes
- A list ofIndex
objects that describe the Resource Explorer indexes found in the specified Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexes
A list of
Index
objects that describe the Resource Explorer indexes found in the specified Regions.- Parameters:
indexes
- A list ofIndex
objects that describe the Resource Explorer indexes found in the specified Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexes
A list of
This is a convenience method that creates an instance of theIndex
objects that describe the Resource Explorer indexes found in the specified Regions.Index.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
The pagination token to use in a subsequent
ListServiceIndexes
request to retrieve the next set of results.- Parameters:
nextToken
- The pagination token to use in a subsequentListServiceIndexes
request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-