Interface DescribeClustersRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeClustersRequest.Builder,DescribeClustersRequest>,MemoryDbRequest.Builder,SdkBuilder<DescribeClustersRequest.Builder,DescribeClustersRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeClustersRequest
public static interface DescribeClustersRequest.Builder extends MemoryDbRequest.Builder, SdkPojo, CopyableBuilder<DescribeClustersRequest.Builder,DescribeClustersRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeClustersRequest.BuilderclusterName(String clusterName)The name of the clusterDescribeClustersRequest.BuildermaxResults(Integer maxResults)The maximum number of records to include in the response.DescribeClustersRequest.BuildernextToken(String nextToken)An optional argument to pass in case the total number of records exceeds the value of MaxResults.DescribeClustersRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeClustersRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DescribeClustersRequest.BuildershowShardDetails(Boolean showShardDetails)An optional flag that can be included in the request to retrieve information about the individual shard(s).-
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.memorydb.model.MemoryDbRequest.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
-
clusterName
DescribeClustersRequest.Builder clusterName(String clusterName)
The name of the cluster
- Parameters:
clusterName- The name of the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
DescribeClustersRequest.Builder maxResults(Integer maxResults)
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
- Parameters:
maxResults- The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
DescribeClustersRequest.Builder nextToken(String nextToken)
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
- Parameters:
nextToken- An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
showShardDetails
DescribeClustersRequest.Builder showShardDetails(Boolean showShardDetails)
An optional flag that can be included in the request to retrieve information about the individual shard(s).
- Parameters:
showShardDetails- An optional flag that can be included in the request to retrieve information about the individual shard(s).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeClustersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeClustersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-