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 ofIndexobjects that describe the Resource Explorer indexes found in the specified Regions.indexes(Consumer<Index.Builder>... indexes) A list ofIndexobjects that describe the Resource Explorer indexes found in the specified Regions.A list ofIndexobjects that describe the Resource Explorer indexes found in the specified Regions.The pagination token to use in a subsequentListServiceIndexesrequest to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resourceexplorer2.model.ResourceExplorer2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
indexes
A list of
Indexobjects that describe the Resource Explorer indexes found in the specified Regions.- Parameters:
indexes- A list ofIndexobjects 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
Indexobjects that describe the Resource Explorer indexes found in the specified Regions.- Parameters:
indexes- A list ofIndexobjects 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 theIndexobjects that describe the Resource Explorer indexes found in the specified Regions.Index.Builderavoiding the need to create one manually viaIndex.builder().When the
Consumercompletes,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
ListServiceIndexesrequest to retrieve the next set of results.- Parameters:
nextToken- The pagination token to use in a subsequentListServiceIndexesrequest to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-