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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInstancesRequest.Builderfilters(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.ListInstancesRequest.Builderfilters(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.ListInstancesRequest.Builderfilters(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.ListInstancesRequest.BuildermaxResults(Integer maxResults)Maximum number of results to return in a single call.ListInstancesRequest.BuildernextToken(String nextToken)Token for the next set of results.ListInstancesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListInstancesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
filters
ListInstancesRequest.Builder filters(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.
- 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
ListInstancesRequest.Builder filters(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.
- 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
ListInstancesRequest.Builder 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.
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 to#filters(List.) - 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:
#filters(java.util.Collection)
-
maxResults
ListInstancesRequest.Builder maxResults(Integer 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
ListInstancesRequest.Builder nextToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-