@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateClusterRequest() |
Modifier and Type | Method and Description |
---|---|
CreateClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getACLName()
The name of the Access Control List to associate with the cluster.
|
Boolean |
getAutoMinorVersionUpgrade()
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
|
String |
getClusterName()
The name of the cluster.
|
Boolean |
getDataTiering()
Enables data tiering.
|
String |
getDescription()
An optional description of the cluster.
|
String |
getEngineVersion()
The version number of the Redis OSS engine to be used for the cluster.
|
String |
getKmsKeyId()
The ID of the KMS key used to encrypt the cluster.
|
String |
getMaintenanceWindow()
Specifies the weekly time range during which maintenance on the cluster is performed.
|
String |
getNodeType()
The compute and memory capacity of the nodes in the cluster.
|
Integer |
getNumReplicasPerShard()
The number of replicas to apply to each shard.
|
Integer |
getNumShards()
The number of shards the cluster will contain.
|
String |
getParameterGroupName()
The name of the parameter group associated with the cluster.
|
Integer |
getPort()
The port number on which each of the nodes accepts connections.
|
List<String> |
getSecurityGroupIds()
A list of security group names to associate with this cluster.
|
List<String> |
getSnapshotArns()
A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3.
|
String |
getSnapshotName()
The name of a snapshot from which to restore data into the new cluster.
|
Integer |
getSnapshotRetentionLimit()
The number of days for which MemoryDB retains automatic snapshots before deleting them.
|
String |
getSnapshotWindow()
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
|
String |
getSnsTopicArn()
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are
sent.
|
String |
getSubnetGroupName()
The name of the subnet group to be used for the cluster.
|
List<Tag> |
getTags()
A list of tags to be added to this resource.
|
Boolean |
getTLSEnabled()
A flag to enable in-transit encryption on the cluster.
|
int |
hashCode() |
Boolean |
isAutoMinorVersionUpgrade()
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
|
Boolean |
isDataTiering()
Enables data tiering.
|
Boolean |
isTLSEnabled()
A flag to enable in-transit encryption on the cluster.
|
void |
setACLName(String aCLName)
The name of the Access Control List to associate with the cluster.
|
void |
setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
|
void |
setClusterName(String clusterName)
The name of the cluster.
|
void |
setDataTiering(Boolean dataTiering)
Enables data tiering.
|
void |
setDescription(String description)
An optional description of the cluster.
|
void |
setEngineVersion(String engineVersion)
The version number of the Redis OSS engine to be used for the cluster.
|
void |
setKmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the cluster.
|
void |
setMaintenanceWindow(String maintenanceWindow)
Specifies the weekly time range during which maintenance on the cluster is performed.
|
void |
setNodeType(String nodeType)
The compute and memory capacity of the nodes in the cluster.
|
void |
setNumReplicasPerShard(Integer numReplicasPerShard)
The number of replicas to apply to each shard.
|
void |
setNumShards(Integer numShards)
The number of shards the cluster will contain.
|
void |
setParameterGroupName(String parameterGroupName)
The name of the parameter group associated with the cluster.
|
void |
setPort(Integer port)
The port number on which each of the nodes accepts connections.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group names to associate with this cluster.
|
void |
setSnapshotArns(Collection<String> snapshotArns)
A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3.
|
void |
setSnapshotName(String snapshotName)
The name of a snapshot from which to restore data into the new cluster.
|
void |
setSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which MemoryDB retains automatic snapshots before deleting them.
|
void |
setSnapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
|
void |
setSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are
sent.
|
void |
setSubnetGroupName(String subnetGroupName)
The name of the subnet group to be used for the cluster.
|
void |
setTags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
void |
setTLSEnabled(Boolean tLSEnabled)
A flag to enable in-transit encryption on the cluster.
|
String |
toString()
Returns a string representation of this object.
|
CreateClusterRequest |
withACLName(String aCLName)
The name of the Access Control List to associate with the cluster.
|
CreateClusterRequest |
withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
|
CreateClusterRequest |
withClusterName(String clusterName)
The name of the cluster.
|
CreateClusterRequest |
withDataTiering(Boolean dataTiering)
Enables data tiering.
|
CreateClusterRequest |
withDescription(String description)
An optional description of the cluster.
|
CreateClusterRequest |
withEngineVersion(String engineVersion)
The version number of the Redis OSS engine to be used for the cluster.
|
CreateClusterRequest |
withKmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the cluster.
|
CreateClusterRequest |
withMaintenanceWindow(String maintenanceWindow)
Specifies the weekly time range during which maintenance on the cluster is performed.
|
CreateClusterRequest |
withNodeType(String nodeType)
The compute and memory capacity of the nodes in the cluster.
|
CreateClusterRequest |
withNumReplicasPerShard(Integer numReplicasPerShard)
The number of replicas to apply to each shard.
|
CreateClusterRequest |
withNumShards(Integer numShards)
The number of shards the cluster will contain.
|
CreateClusterRequest |
withParameterGroupName(String parameterGroupName)
The name of the parameter group associated with the cluster.
|
CreateClusterRequest |
withPort(Integer port)
The port number on which each of the nodes accepts connections.
|
CreateClusterRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group names to associate with this cluster.
|
CreateClusterRequest |
withSecurityGroupIds(String... securityGroupIds)
A list of security group names to associate with this cluster.
|
CreateClusterRequest |
withSnapshotArns(Collection<String> snapshotArns)
A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3.
|
CreateClusterRequest |
withSnapshotArns(String... snapshotArns)
A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3.
|
CreateClusterRequest |
withSnapshotName(String snapshotName)
The name of a snapshot from which to restore data into the new cluster.
|
CreateClusterRequest |
withSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which MemoryDB retains automatic snapshots before deleting them.
|
CreateClusterRequest |
withSnapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
|
CreateClusterRequest |
withSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are
sent.
|
CreateClusterRequest |
withSubnetGroupName(String subnetGroupName)
The name of the subnet group to be used for the cluster.
|
CreateClusterRequest |
withTags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
CreateClusterRequest |
withTags(Tag... tags)
A list of tags to be added to this resource.
|
CreateClusterRequest |
withTLSEnabled(Boolean tLSEnabled)
A flag to enable in-transit encryption on the cluster.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClusterName(String clusterName)
The name of the cluster. This value must be unique as it also serves as the cluster identifier.
clusterName
- The name of the cluster. This value must be unique as it also serves as the cluster identifier.public String getClusterName()
The name of the cluster. This value must be unique as it also serves as the cluster identifier.
public CreateClusterRequest withClusterName(String clusterName)
The name of the cluster. This value must be unique as it also serves as the cluster identifier.
clusterName
- The name of the cluster. This value must be unique as it also serves as the cluster identifier.public void setNodeType(String nodeType)
The compute and memory capacity of the nodes in the cluster.
nodeType
- The compute and memory capacity of the nodes in the cluster.public String getNodeType()
The compute and memory capacity of the nodes in the cluster.
public CreateClusterRequest withNodeType(String nodeType)
The compute and memory capacity of the nodes in the cluster.
nodeType
- The compute and memory capacity of the nodes in the cluster.public void setParameterGroupName(String parameterGroupName)
The name of the parameter group associated with the cluster.
parameterGroupName
- The name of the parameter group associated with the cluster.public String getParameterGroupName()
The name of the parameter group associated with the cluster.
public CreateClusterRequest withParameterGroupName(String parameterGroupName)
The name of the parameter group associated with the cluster.
parameterGroupName
- The name of the parameter group associated with the cluster.public void setDescription(String description)
An optional description of the cluster.
description
- An optional description of the cluster.public String getDescription()
An optional description of the cluster.
public CreateClusterRequest withDescription(String description)
An optional description of the cluster.
description
- An optional description of the cluster.public void setNumShards(Integer numShards)
The number of shards the cluster will contain. The default value is 1.
numShards
- The number of shards the cluster will contain. The default value is 1.public Integer getNumShards()
The number of shards the cluster will contain. The default value is 1.
public CreateClusterRequest withNumShards(Integer numShards)
The number of shards the cluster will contain. The default value is 1.
numShards
- The number of shards the cluster will contain. The default value is 1.public void setNumReplicasPerShard(Integer numReplicasPerShard)
The number of replicas to apply to each shard. The default value is 1. The maximum is 5.
numReplicasPerShard
- The number of replicas to apply to each shard. The default value is 1. The maximum is 5.public Integer getNumReplicasPerShard()
The number of replicas to apply to each shard. The default value is 1. The maximum is 5.
public CreateClusterRequest withNumReplicasPerShard(Integer numReplicasPerShard)
The number of replicas to apply to each shard. The default value is 1. The maximum is 5.
numReplicasPerShard
- The number of replicas to apply to each shard. The default value is 1. The maximum is 5.public void setSubnetGroupName(String subnetGroupName)
The name of the subnet group to be used for the cluster.
subnetGroupName
- The name of the subnet group to be used for the cluster.public String getSubnetGroupName()
The name of the subnet group to be used for the cluster.
public CreateClusterRequest withSubnetGroupName(String subnetGroupName)
The name of the subnet group to be used for the cluster.
subnetGroupName
- The name of the subnet group to be used for the cluster.public List<String> getSecurityGroupIds()
A list of security group names to associate with this cluster.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group names to associate with this cluster.
securityGroupIds
- A list of security group names to associate with this cluster.public CreateClusterRequest withSecurityGroupIds(String... securityGroupIds)
A list of security group names to associate with this cluster.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- A list of security group names to associate with this cluster.public CreateClusterRequest withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group names to associate with this cluster.
securityGroupIds
- A list of security group names to associate with this cluster.public void setMaintenanceWindow(String maintenanceWindow)
Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
Valid values for ddd
are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:23:00-mon:01:30
maintenanceWindow
- Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a
range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute
period.
Valid values for ddd
are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:23:00-mon:01:30
public String getMaintenanceWindow()
Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
Valid values for ddd
are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:23:00-mon:01:30
Valid values for ddd
are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:23:00-mon:01:30
public CreateClusterRequest withMaintenanceWindow(String maintenanceWindow)
Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
Valid values for ddd
are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:23:00-mon:01:30
maintenanceWindow
- Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a
range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute
period.
Valid values for ddd
are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:23:00-mon:01:30
public void setPort(Integer port)
The port number on which each of the nodes accepts connections.
port
- The port number on which each of the nodes accepts connections.public Integer getPort()
The port number on which each of the nodes accepts connections.
public CreateClusterRequest withPort(Integer port)
The port number on which each of the nodes accepts connections.
port
- The port number on which each of the nodes accepts connections.public void setSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
snsTopicArn
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which
notifications are sent.public String getSnsTopicArn()
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
public CreateClusterRequest withSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
snsTopicArn
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which
notifications are sent.public void setTLSEnabled(Boolean tLSEnabled)
A flag to enable in-transit encryption on the cluster.
tLSEnabled
- A flag to enable in-transit encryption on the cluster.public Boolean getTLSEnabled()
A flag to enable in-transit encryption on the cluster.
public CreateClusterRequest withTLSEnabled(Boolean tLSEnabled)
A flag to enable in-transit encryption on the cluster.
tLSEnabled
- A flag to enable in-transit encryption on the cluster.public Boolean isTLSEnabled()
A flag to enable in-transit encryption on the cluster.
public void setKmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the cluster.
kmsKeyId
- The ID of the KMS key used to encrypt the cluster.public String getKmsKeyId()
The ID of the KMS key used to encrypt the cluster.
public CreateClusterRequest withKmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the cluster.
kmsKeyId
- The ID of the KMS key used to encrypt the cluster.public List<String> getSnapshotArns()
A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN cannot contain any commas.
public void setSnapshotArns(Collection<String> snapshotArns)
A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN cannot contain any commas.
snapshotArns
- A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3.
The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN cannot
contain any commas.public CreateClusterRequest withSnapshotArns(String... snapshotArns)
A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN cannot contain any commas.
NOTE: This method appends the values to the existing list (if any). Use
setSnapshotArns(java.util.Collection)
or withSnapshotArns(java.util.Collection)
if you want to
override the existing values.
snapshotArns
- A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3.
The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN cannot
contain any commas.public CreateClusterRequest withSnapshotArns(Collection<String> snapshotArns)
A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN cannot contain any commas.
snapshotArns
- A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3.
The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN cannot
contain any commas.public void setSnapshotName(String snapshotName)
The name of a snapshot from which to restore data into the new cluster. The snapshot status changes to restoring while the new cluster is being created.
snapshotName
- The name of a snapshot from which to restore data into the new cluster. The snapshot status changes to
restoring while the new cluster is being created.public String getSnapshotName()
The name of a snapshot from which to restore data into the new cluster. The snapshot status changes to restoring while the new cluster is being created.
public CreateClusterRequest withSnapshotName(String snapshotName)
The name of a snapshot from which to restore data into the new cluster. The snapshot status changes to restoring while the new cluster is being created.
snapshotName
- The name of a snapshot from which to restore data into the new cluster. The snapshot status changes to
restoring while the new cluster is being created.public void setSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
snapshotRetentionLimit
- The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if
you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being
deleted.public Integer getSnapshotRetentionLimit()
The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
public CreateClusterRequest withSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
snapshotRetentionLimit
- The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if
you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being
deleted.public List<Tag> getTags()
A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey, Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue Key=mySecondKey, Value=mySecondKeyValue.
public void setTags(Collection<Tag> tags)
A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey, Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue Key=mySecondKey, Value=mySecondKeyValue.
tags
- A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey,
Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue
Key=mySecondKey, Value=mySecondKeyValue.public CreateClusterRequest withTags(Tag... tags)
A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey, Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue Key=mySecondKey, Value=mySecondKeyValue.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey,
Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue
Key=mySecondKey, Value=mySecondKeyValue.public CreateClusterRequest withTags(Collection<Tag> tags)
A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey, Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue Key=mySecondKey, Value=mySecondKeyValue.
tags
- A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey,
Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue
Key=mySecondKey, Value=mySecondKeyValue.public void setSnapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
Example: 05:00-09:00
If you do not specify this parameter, MemoryDB automatically chooses an appropriate time range.
snapshotWindow
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
Example: 05:00-09:00
If you do not specify this parameter, MemoryDB automatically chooses an appropriate time range.
public String getSnapshotWindow()
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
Example: 05:00-09:00
If you do not specify this parameter, MemoryDB automatically chooses an appropriate time range.
Example: 05:00-09:00
If you do not specify this parameter, MemoryDB automatically chooses an appropriate time range.
public CreateClusterRequest withSnapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
Example: 05:00-09:00
If you do not specify this parameter, MemoryDB automatically chooses an appropriate time range.
snapshotWindow
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
Example: 05:00-09:00
If you do not specify this parameter, MemoryDB automatically chooses an appropriate time range.
public void setACLName(String aCLName)
The name of the Access Control List to associate with the cluster.
aCLName
- The name of the Access Control List to associate with the cluster.public String getACLName()
The name of the Access Control List to associate with the cluster.
public CreateClusterRequest withACLName(String aCLName)
The name of the Access Control List to associate with the cluster.
aCLName
- The name of the Access Control List to associate with the cluster.public void setEngineVersion(String engineVersion)
The version number of the Redis OSS engine to be used for the cluster.
engineVersion
- The version number of the Redis OSS engine to be used for the cluster.public String getEngineVersion()
The version number of the Redis OSS engine to be used for the cluster.
public CreateClusterRequest withEngineVersion(String engineVersion)
The version number of the Redis OSS engine to be used for the cluster.
engineVersion
- The version number of the Redis OSS engine to be used for the cluster.public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
autoMinorVersionUpgrade
- When set to true, the cluster will automatically receive minor engine version upgrades after launch.public Boolean getAutoMinorVersionUpgrade()
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
public CreateClusterRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
autoMinorVersionUpgrade
- When set to true, the cluster will automatically receive minor engine version upgrades after launch.public Boolean isAutoMinorVersionUpgrade()
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
public void setDataTiering(Boolean dataTiering)
Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering.
dataTiering
- Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter
must be set when using r6gd nodes. For more information, see Data tiering.public Boolean getDataTiering()
Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering.
public CreateClusterRequest withDataTiering(Boolean dataTiering)
Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering.
dataTiering
- Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter
must be set when using r6gd nodes. For more information, see Data tiering.public Boolean isDataTiering()
Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering.
public String toString()
toString
in class Object
Object.toString()
public CreateClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()