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)You can use the following filters to streamline results:ListInstancesRequest.Builderfilters(Consumer<Filter.Builder>... filters)You can use the following filters to streamline results:ListInstancesRequest.Builderfilters(Filter... filters)You can use the following filters to streamline results:ListInstancesRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return from a single request.ListInstancesRequest.BuildernextToken(String nextToken)A token to specify where to start paginating.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
filters
ListInstancesRequest.Builder filters(Collection<Filter> filters)
You can use the following filters to streamline results:
-
Status
-
InstanceId
- Parameters:
filters- You can use the following filters to streamline results:-
Status
-
InstanceId
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
ListInstancesRequest.Builder filters(Filter... filters)
You can use the following filters to streamline results:
-
Status
-
InstanceId
- Parameters:
filters- You can use the following filters to streamline results:-
Status
-
InstanceId
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
ListInstancesRequest.Builder filters(Consumer<Filter.Builder>... filters)
You can use the following filters to streamline results:
-
Status
-
InstanceId
Filter.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)
The maximum number of results to return from a single request.
- Parameters:
maxResults- The maximum number of results to return from a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListInstancesRequest.Builder nextToken(String nextToken)
A token to specify where to start paginating. This is the nextToken from a previously truncated response.
- Parameters:
nextToken- A token to specify where to start paginating. This is the nextToken from a previously truncated response.- 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
-
-