Interface ClusterConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterConfiguration.Builder,ClusterConfiguration>,SdkBuilder<ClusterConfiguration.Builder,ClusterConfiguration>,SdkPojo
- Enclosing class:
- ClusterConfiguration
public static interface ClusterConfiguration.Builder extends SdkPojo, CopyableBuilder<ClusterConfiguration.Builder,ClusterConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClusterConfiguration.Builderdescription(String description)The description of the cluster configurationClusterConfiguration.BuilderengineVersion(String engineVersion)The Redis OSS engine version used by the clusterClusterConfiguration.BuildermaintenanceWindow(String maintenanceWindow)The specified maintenance window for the clusterClusterConfiguration.Buildername(String name)The name of the clusterClusterConfiguration.BuildernodeType(String nodeType)The node type used for the clusterClusterConfiguration.BuildernumShards(Integer numShards)The number of shards in the clusterClusterConfiguration.BuilderparameterGroupName(String parameterGroupName)The name of parameter group used by the clusterClusterConfiguration.Builderport(Integer port)The port used by the clusterClusterConfiguration.Buildershards(Collection<ShardDetail> shards)The list of shards in the clusterClusterConfiguration.Buildershards(Consumer<ShardDetail.Builder>... shards)The list of shards in the clusterClusterConfiguration.Buildershards(ShardDetail... shards)The list of shards in the clusterClusterConfiguration.BuildersnapshotRetentionLimit(Integer snapshotRetentionLimit)The snapshot retention limit set by the clusterClusterConfiguration.BuildersnapshotWindow(String snapshotWindow)The snapshot window set by the clusterClusterConfiguration.BuildersubnetGroupName(String subnetGroupName)The name of the subnet group used by the clusterClusterConfiguration.BuildertopicArn(String topicArn)The Amazon Resource Name (ARN) of the SNS notification topic for the clusterClusterConfiguration.BuildervpcId(String vpcId)The ID of the VPC the cluster belongs to-
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 Detail
-
name
ClusterConfiguration.Builder name(String name)
The name of the cluster
- Parameters:
name- The name of the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ClusterConfiguration.Builder description(String description)
The description of the cluster configuration
- Parameters:
description- The description of the cluster configuration- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
ClusterConfiguration.Builder nodeType(String nodeType)
The node type used for the cluster
- Parameters:
nodeType- The node type used for the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
ClusterConfiguration.Builder engineVersion(String engineVersion)
The Redis OSS engine version used by the cluster
- Parameters:
engineVersion- The Redis OSS engine version used by the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceWindow
ClusterConfiguration.Builder maintenanceWindow(String maintenanceWindow)
The specified maintenance window for the cluster
- Parameters:
maintenanceWindow- The specified maintenance window for the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicArn
ClusterConfiguration.Builder topicArn(String topicArn)
The Amazon Resource Name (ARN) of the SNS notification topic for the cluster
- Parameters:
topicArn- The Amazon Resource Name (ARN) of the SNS notification topic for the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
ClusterConfiguration.Builder port(Integer port)
The port used by the cluster
- Parameters:
port- The port used by the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterGroupName
ClusterConfiguration.Builder parameterGroupName(String parameterGroupName)
The name of parameter group used by the cluster
- Parameters:
parameterGroupName- The name of parameter group used by the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetGroupName
ClusterConfiguration.Builder subnetGroupName(String subnetGroupName)
The name of the subnet group used by the cluster
- Parameters:
subnetGroupName- The name of the subnet group used by the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
ClusterConfiguration.Builder vpcId(String vpcId)
The ID of the VPC the cluster belongs to
- Parameters:
vpcId- The ID of the VPC the cluster belongs to- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotRetentionLimit
ClusterConfiguration.Builder snapshotRetentionLimit(Integer snapshotRetentionLimit)
The snapshot retention limit set by the cluster
- Parameters:
snapshotRetentionLimit- The snapshot retention limit set by the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotWindow
ClusterConfiguration.Builder snapshotWindow(String snapshotWindow)
The snapshot window set by the cluster
- Parameters:
snapshotWindow- The snapshot window set by the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numShards
ClusterConfiguration.Builder numShards(Integer numShards)
The number of shards in the cluster
- Parameters:
numShards- The number of shards in the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shards
ClusterConfiguration.Builder shards(Collection<ShardDetail> shards)
The list of shards in the cluster
- Parameters:
shards- The list of shards in the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shards
ClusterConfiguration.Builder shards(ShardDetail... shards)
The list of shards in the cluster
- Parameters:
shards- The list of shards in the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shards
ClusterConfiguration.Builder shards(Consumer<ShardDetail.Builder>... shards)
The list of shards in the cluster
This is a convenience method that creates an instance of theShardDetail.Builderavoiding the need to create one manually viaShardDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#shards(List.) - Parameters:
shards- a consumer that will call methods onShardDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#shards(java.util.Collection)
-
-