public static interface ClusterConfiguration.Builder extends SdkPojo, CopyableBuilder<ClusterConfiguration.Builder,ClusterConfiguration>
| Modifier and Type | Method and Description |
|---|---|
ClusterConfiguration.Builder |
description(String description)
The description of the cluster configuration
|
ClusterConfiguration.Builder |
engineVersion(String engineVersion)
The Redis engine version used by the cluster
|
ClusterConfiguration.Builder |
maintenanceWindow(String maintenanceWindow)
The specified maintenance window for the cluster
|
ClusterConfiguration.Builder |
name(String name)
The name of the cluster
|
ClusterConfiguration.Builder |
nodeType(String nodeType)
The node type used for the cluster
|
ClusterConfiguration.Builder |
numShards(Integer numShards)
The number of shards in the cluster
|
ClusterConfiguration.Builder |
parameterGroupName(String parameterGroupName)
The name of parameter group used by the cluster
|
ClusterConfiguration.Builder |
port(Integer port)
The port used by the cluster
|
ClusterConfiguration.Builder |
shards(Collection<ShardDetail> shards)
The list of shards in the cluster
|
ClusterConfiguration.Builder |
shards(Consumer<ShardDetail.Builder>... shards)
The list of shards in the cluster
|
ClusterConfiguration.Builder |
shards(ShardDetail... shards)
The list of shards in the cluster
|
ClusterConfiguration.Builder |
snapshotRetentionLimit(Integer snapshotRetentionLimit)
The snapshot retention limit set by the cluster
|
ClusterConfiguration.Builder |
snapshotWindow(String snapshotWindow)
The snapshot window set by the cluster
|
ClusterConfiguration.Builder |
subnetGroupName(String subnetGroupName)
The name of the subnet group used by the cluster
|
ClusterConfiguration.Builder |
topicArn(String topicArn)
The Amazon Resource Name (ARN) of the SNS notification topic for the cluster
|
ClusterConfiguration.Builder |
vpcId(String vpcId)
The ID of the VPC the cluster belongs to
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildClusterConfiguration.Builder name(String name)
The name of the cluster
name - The name of the clusterClusterConfiguration.Builder description(String description)
The description of the cluster configuration
description - The description of the cluster configurationClusterConfiguration.Builder nodeType(String nodeType)
The node type used for the cluster
nodeType - The node type used for the clusterClusterConfiguration.Builder engineVersion(String engineVersion)
The Redis engine version used by the cluster
engineVersion - The Redis engine version used by the clusterClusterConfiguration.Builder maintenanceWindow(String maintenanceWindow)
The specified maintenance window for the cluster
maintenanceWindow - The specified maintenance window for the clusterClusterConfiguration.Builder topicArn(String topicArn)
The Amazon Resource Name (ARN) of the SNS notification topic for the cluster
topicArn - The Amazon Resource Name (ARN) of the SNS notification topic for the clusterClusterConfiguration.Builder port(Integer port)
The port used by the cluster
port - The port used by the clusterClusterConfiguration.Builder parameterGroupName(String parameterGroupName)
The name of parameter group used by the cluster
parameterGroupName - The name of parameter group used by the clusterClusterConfiguration.Builder subnetGroupName(String subnetGroupName)
The name of the subnet group used by the cluster
subnetGroupName - The name of the subnet group used by the clusterClusterConfiguration.Builder vpcId(String vpcId)
The ID of the VPC the cluster belongs to
vpcId - The ID of the VPC the cluster belongs toClusterConfiguration.Builder snapshotRetentionLimit(Integer snapshotRetentionLimit)
The snapshot retention limit set by the cluster
snapshotRetentionLimit - The snapshot retention limit set by the clusterClusterConfiguration.Builder snapshotWindow(String snapshotWindow)
The snapshot window set by the cluster
snapshotWindow - The snapshot window set by the clusterClusterConfiguration.Builder numShards(Integer numShards)
The number of shards in the cluster
numShards - The number of shards in the clusterClusterConfiguration.Builder shards(Collection<ShardDetail> shards)
The list of shards in the cluster
shards - The list of shards in the clusterClusterConfiguration.Builder shards(ShardDetail... shards)
The list of shards in the cluster
shards - The list of shards in the clusterClusterConfiguration.Builder shards(Consumer<ShardDetail.Builder>... shards)
The list of shards in the cluster
This is a convenience method that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #shards(List) .shards - a consumer that will call methods on List.Builder #shards(List) Copyright © 2022. All rights reserved.