Interface ListInstancesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListInstancesRequest.Builder,
,ListInstancesRequest> LicenseManagerUserSubscriptionsRequest.Builder
,SdkBuilder<ListInstancesRequest.Builder,
,ListInstancesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListInstancesRequest
public static interface ListInstancesRequest.Builder
extends LicenseManagerUserSubscriptionsRequest.Builder, SdkPojo, CopyableBuilder<ListInstancesRequest.Builder,ListInstancesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<Filter> filters) An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.filters
(Consumer<Filter.Builder>... filters) An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.maxResults
(Integer maxResults) Maximum number of results to return in a single call.Token for the next set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.licensemanagerusersubscriptions.model.LicenseManagerUserSubscriptionsRequest.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 structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.
- Parameters:
filters
- An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.
- Parameters:
filters
- An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.
This is a convenience method that creates an instance of theFilter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<Filter>)
.- Parameters:
filters
- a consumer that will call methods onFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
Maximum number of results to return in a single call.
- Parameters:
maxResults
- Maximum number of results to return in a single call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Token for the next set of results.
- Parameters:
nextToken
- Token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListInstancesRequest.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
ListInstancesRequest.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.
-