Interface ListServiceInstancesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListServiceInstancesRequest.Builder,ListServiceInstancesRequest>,ProtonRequest.Builder,SdkBuilder<ListServiceInstancesRequest.Builder,ListServiceInstancesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListServiceInstancesRequest
public static interface ListServiceInstancesRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<ListServiceInstancesRequest.Builder,ListServiceInstancesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListServiceInstancesRequest.Builderfilters(Collection<ListServiceInstancesFilter> filters)An array of filtering criteria that scope down the result list.ListServiceInstancesRequest.Builderfilters(Consumer<ListServiceInstancesFilter.Builder>... filters)An array of filtering criteria that scope down the result list.ListServiceInstancesRequest.Builderfilters(ListServiceInstancesFilter... filters)An array of filtering criteria that scope down the result list.ListServiceInstancesRequest.BuildermaxResults(Integer maxResults)The maximum number of service instances to list.ListServiceInstancesRequest.BuildernextToken(String 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.ListServiceInstancesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListServiceInstancesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListServiceInstancesRequest.BuilderserviceName(String serviceName)The name of the service that the service instance belongs to.ListServiceInstancesRequest.BuildersortBy(String sortBy)The field that the result list is sorted by.ListServiceInstancesRequest.BuildersortBy(ListServiceInstancesSortBy sortBy)The field that the result list is sorted by.ListServiceInstancesRequest.BuildersortOrder(String sortOrder)Result list sort order.ListServiceInstancesRequest.BuildersortOrder(SortOrder sortOrder)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 Detail
-
filters
ListServiceInstancesRequest.Builder filters(Collection<ListServiceInstancesFilter> 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(ListServiceInstancesFilter... 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.Builderavoiding the need to create one manually viaListServiceInstancesFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - 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:
#filters(java.util.Collection)
-
maxResults
ListServiceInstancesRequest.Builder maxResults(Integer 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
ListServiceInstancesRequest.Builder nextToken(String 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
ListServiceInstancesRequest.Builder serviceName(String 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
ListServiceInstancesRequest.Builder sortBy(String 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:
ListServiceInstancesSortBy,ListServiceInstancesSortBy
-
sortBy
ListServiceInstancesRequest.Builder sortBy(ListServiceInstancesSortBy 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:
ListServiceInstancesSortBy,ListServiceInstancesSortBy
-
sortOrder
ListServiceInstancesRequest.Builder sortOrder(String sortOrder)
Result list sort order.
Default:
ASCENDING
-
sortOrder
ListServiceInstancesRequest.Builder sortOrder(SortOrder sortOrder)
Result list sort order.
Default:
ASCENDING
-
overrideConfiguration
ListServiceInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListServiceInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-