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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.licensemanagerusersubscriptions.model.LicenseManagerUserSubscriptionsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-