Interface ListServiceInstancesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListServiceInstancesRequest.Builder,
,ListServiceInstancesRequest> ProtonRequest.Builder
,SdkBuilder<ListServiceInstancesRequest.Builder,
,ListServiceInstancesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListServiceInstancesRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<ListServiceInstancesFilter> filters) An array of filtering criteria that scope down the result list.filters
(Consumer<ListServiceInstancesFilter.Builder>... filters) An array of filtering criteria that scope down the result list.filters
(ListServiceInstancesFilter... filters) An array of filtering criteria that scope down the result list.maxResults
(Integer maxResults) The maximum number of service instances to list.A token that indicates the location of the next service in the array of service instances, after the list of service instances that was previously requested.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceName
(String serviceName) The name of the service that the service instance belongs to.The field that the result list is sorted by.sortBy
(ListServiceInstancesSortBy sortBy) The field that the result list is sorted by.Result list sort order.Result list sort order.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
filters
An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.
- Parameters:
filters
- An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.
- Parameters:
filters
- An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListServiceInstancesRequest.Builder filters(Consumer<ListServiceInstancesFilter.Builder>... filters) An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.
This is a convenience method that creates an instance of theListServiceInstancesFilter.Builder
avoiding the need to create one manually viaListServiceInstancesFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<ListServiceInstancesFilter>)
.- Parameters:
filters
- a consumer that will call methods onListServiceInstancesFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of service instances to list.
- Parameters:
maxResults
- The maximum number of service instances to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token that indicates the location of the next service in the array of service instances, after the list of service instances that was previously requested.
- Parameters:
nextToken
- A token that indicates the location of the next service in the array of service instances, after the list of service instances that was previously requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
The name of the service that the service instance belongs to.
- Parameters:
serviceName
- The name of the service that the service instance belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
The field that the result list is sorted by.
When you choose to sort by
serviceName
, service instances within each service are sorted by service instance name.Default:
serviceName
- Parameters:
sortBy
- The field that the result list is sorted by.When you choose to sort by
serviceName
, service instances within each service are sorted by service instance name.Default:
serviceName
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
The field that the result list is sorted by.
When you choose to sort by
serviceName
, service instances within each service are sorted by service instance name.Default:
serviceName
- Parameters:
sortBy
- The field that the result list is sorted by.When you choose to sort by
serviceName
, service instances within each service are sorted by service instance name.Default:
serviceName
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
Result list sort order.
Default:
ASCENDING
- Parameters:
sortOrder
- Result list sort order.Default:
ASCENDING
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
Result list sort order.
Default:
ASCENDING
- Parameters:
sortOrder
- Result list sort order.Default:
ASCENDING
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListServiceInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListServiceInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-