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.TheNextTokenvalue 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudhsmv2.model.CloudHsmV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
clusterIdsfilter to return only the specified clusters. Specify clusters by their cluster identifier (ID).Use the
vpcIdsfilter to return only the clusters in the specified virtual private clouds (VPCs). Specify VPCs by their VPC identifier (ID).Use the
statesfilter 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
clusterIdsfilter to return only the specified clusters. Specify clusters by their cluster identifier (ID).Use the
vpcIdsfilter to return only the clusters in the specified virtual private clouds (VPCs). Specify VPCs by their VPC identifier (ID).Use the
statesfilter 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
NextTokenvalue that you received in the previous response. Use this value to get more clusters.- Parameters:
nextToken- TheNextTokenvalue 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
NextTokenvalue.- 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 aNextTokenvalue.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-