Interface DescribeClustersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudHsmV2Request.Builder
,CopyableBuilder<DescribeClustersRequest.Builder,
,DescribeClustersRequest> SdkBuilder<DescribeClustersRequest.Builder,
,DescribeClustersRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeClustersRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Map<String, ? extends Collection<String>> filters) One or more filters to limit the items returned in the response.maxResults
(Integer maxResults) The maximum number of clusters to return in the response.TheNextToken
value that you received in the previous response.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.services.cloudhsmv2.model.CloudHsmV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
One or more filters to limit the items returned in the response.
Use the
clusterIds
filter to return only the specified clusters. Specify clusters by their cluster identifier (ID).Use the
vpcIds
filter to return only the clusters in the specified virtual private clouds (VPCs). Specify VPCs by their VPC identifier (ID).Use the
states
filter to return only clusters that match the specified state.- Parameters:
filters
- One or more filters to limit the items returned in the response.Use the
clusterIds
filter to return only the specified clusters. Specify clusters by their cluster identifier (ID).Use the
vpcIds
filter to return only the clusters in the specified virtual private clouds (VPCs). Specify VPCs by their VPC identifier (ID).Use the
states
filter to return only clusters that match the specified state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The
NextToken
value that you received in the previous response. Use this value to get more clusters.- Parameters:
nextToken
- TheNextToken
value that you received in the previous response. Use this value to get more clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of clusters to return in the response. When there are more clusters than the number you specify, the response contains a
NextToken
value.- Parameters:
maxResults
- The maximum number of clusters to return in the response. When there are more clusters than the number you specify, the response contains aNextToken
value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeClustersRequest.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
DescribeClustersRequest.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.
-