@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicationGroup extends Object implements Serializable, Cloneable
Contains all of the attributes of a specific Redis replication group.
Constructor and Description |
---|
ReplicationGroup() |
Modifier and Type | Method and Description |
---|---|
ReplicationGroup |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The ARN (Amazon Resource Name) of the replication group.
|
Boolean |
getAtRestEncryptionEnabled()
A flag that enables encryption at-rest when set to
true . |
Boolean |
getAuthTokenEnabled()
A flag that enables using an
AuthToken (password) when issuing Redis commands. |
Date |
getAuthTokenLastModifiedDate()
The date the auth token was last modified
|
String |
getAutomaticFailover()
Indicates the status of automatic failover for this Redis replication group.
|
String |
getCacheNodeType()
The name of the compute and memory capacity node type for each node in the replication group.
|
Boolean |
getClusterEnabled()
A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be
partitioned across multiple shards (API/CLI: node groups).
|
Endpoint |
getConfigurationEndpoint()
The configuration endpoint for this replication group.
|
String |
getDescription()
The user supplied description of the replication group.
|
GlobalReplicationGroupInfo |
getGlobalReplicationGroupInfo()
The name of the Global datastore and role of this replication group in the Global datastore.
|
String |
getKmsKeyId()
The ID of the KMS key used to encrypt the disk in the cluster.
|
List<LogDeliveryConfiguration> |
getLogDeliveryConfigurations()
Returns the destination, format and type of the logs.
|
List<String> |
getMemberClusters()
The names of all the cache clusters that are part of this replication group.
|
List<String> |
getMemberClustersOutpostArns()
The outpost ARNs of the replication group's member clusters.
|
String |
getMultiAZ()
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance.
|
List<NodeGroup> |
getNodeGroups()
A list of node groups in this replication group.
|
ReplicationGroupPendingModifiedValues |
getPendingModifiedValues()
A group of settings to be applied to the replication group, either immediately or during the next maintenance
window.
|
Date |
getReplicationGroupCreateTime()
The date and time when the cluster was created.
|
String |
getReplicationGroupId()
The identifier for the replication group.
|
Integer |
getSnapshotRetentionLimit()
The number of days for which ElastiCache retains automatic cluster snapshots before deleting them.
|
String |
getSnapshottingClusterId()
The cluster ID that is used as the daily snapshot source for the replication group.
|
String |
getSnapshotWindow()
The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
|
String |
getStatus()
The current state of this replication group -
creating , available ,
modifying , deleting , create-failed , snapshotting . |
Boolean |
getTransitEncryptionEnabled()
A flag that enables in-transit encryption when set to
true . |
List<String> |
getUserGroupIds()
The ID of the user group associated to the replication group.
|
int |
hashCode() |
Boolean |
isAtRestEncryptionEnabled()
A flag that enables encryption at-rest when set to
true . |
Boolean |
isAuthTokenEnabled()
A flag that enables using an
AuthToken (password) when issuing Redis commands. |
Boolean |
isClusterEnabled()
A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be
partitioned across multiple shards (API/CLI: node groups).
|
Boolean |
isTransitEncryptionEnabled()
A flag that enables in-transit encryption when set to
true . |
void |
setARN(String aRN)
The ARN (Amazon Resource Name) of the replication group.
|
void |
setAtRestEncryptionEnabled(Boolean atRestEncryptionEnabled)
A flag that enables encryption at-rest when set to
true . |
void |
setAuthTokenEnabled(Boolean authTokenEnabled)
A flag that enables using an
AuthToken (password) when issuing Redis commands. |
void |
setAuthTokenLastModifiedDate(Date authTokenLastModifiedDate)
The date the auth token was last modified
|
void |
setAutomaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates the status of automatic failover for this Redis replication group.
|
void |
setAutomaticFailover(String automaticFailover)
Indicates the status of automatic failover for this Redis replication group.
|
void |
setCacheNodeType(String cacheNodeType)
The name of the compute and memory capacity node type for each node in the replication group.
|
void |
setClusterEnabled(Boolean clusterEnabled)
A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be
partitioned across multiple shards (API/CLI: node groups).
|
void |
setConfigurationEndpoint(Endpoint configurationEndpoint)
The configuration endpoint for this replication group.
|
void |
setDescription(String description)
The user supplied description of the replication group.
|
void |
setGlobalReplicationGroupInfo(GlobalReplicationGroupInfo globalReplicationGroupInfo)
The name of the Global datastore and role of this replication group in the Global datastore.
|
void |
setKmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the disk in the cluster.
|
void |
setLogDeliveryConfigurations(Collection<LogDeliveryConfiguration> logDeliveryConfigurations)
Returns the destination, format and type of the logs.
|
void |
setMemberClusters(Collection<String> memberClusters)
The names of all the cache clusters that are part of this replication group.
|
void |
setMemberClustersOutpostArns(Collection<String> memberClustersOutpostArns)
The outpost ARNs of the replication group's member clusters.
|
void |
setMultiAZ(MultiAZStatus multiAZ)
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance.
|
void |
setMultiAZ(String multiAZ)
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance.
|
void |
setNodeGroups(Collection<NodeGroup> nodeGroups)
A list of node groups in this replication group.
|
void |
setPendingModifiedValues(ReplicationGroupPendingModifiedValues pendingModifiedValues)
A group of settings to be applied to the replication group, either immediately or during the next maintenance
window.
|
void |
setReplicationGroupCreateTime(Date replicationGroupCreateTime)
The date and time when the cluster was created.
|
void |
setReplicationGroupId(String replicationGroupId)
The identifier for the replication group.
|
void |
setSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which ElastiCache retains automatic cluster snapshots before deleting them.
|
void |
setSnapshottingClusterId(String snapshottingClusterId)
The cluster ID that is used as the daily snapshot source for the replication group.
|
void |
setSnapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
|
void |
setStatus(String status)
The current state of this replication group -
creating , available ,
modifying , deleting , create-failed , snapshotting . |
void |
setTransitEncryptionEnabled(Boolean transitEncryptionEnabled)
A flag that enables in-transit encryption when set to
true . |
void |
setUserGroupIds(Collection<String> userGroupIds)
The ID of the user group associated to the replication group.
|
String |
toString()
Returns a string representation of this object.
|
ReplicationGroup |
withARN(String aRN)
The ARN (Amazon Resource Name) of the replication group.
|
ReplicationGroup |
withAtRestEncryptionEnabled(Boolean atRestEncryptionEnabled)
A flag that enables encryption at-rest when set to
true . |
ReplicationGroup |
withAuthTokenEnabled(Boolean authTokenEnabled)
A flag that enables using an
AuthToken (password) when issuing Redis commands. |
ReplicationGroup |
withAuthTokenLastModifiedDate(Date authTokenLastModifiedDate)
The date the auth token was last modified
|
ReplicationGroup |
withAutomaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates the status of automatic failover for this Redis replication group.
|
ReplicationGroup |
withAutomaticFailover(String automaticFailover)
Indicates the status of automatic failover for this Redis replication group.
|
ReplicationGroup |
withCacheNodeType(String cacheNodeType)
The name of the compute and memory capacity node type for each node in the replication group.
|
ReplicationGroup |
withClusterEnabled(Boolean clusterEnabled)
A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be
partitioned across multiple shards (API/CLI: node groups).
|
ReplicationGroup |
withConfigurationEndpoint(Endpoint configurationEndpoint)
The configuration endpoint for this replication group.
|
ReplicationGroup |
withDescription(String description)
The user supplied description of the replication group.
|
ReplicationGroup |
withGlobalReplicationGroupInfo(GlobalReplicationGroupInfo globalReplicationGroupInfo)
The name of the Global datastore and role of this replication group in the Global datastore.
|
ReplicationGroup |
withKmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the disk in the cluster.
|
ReplicationGroup |
withLogDeliveryConfigurations(Collection<LogDeliveryConfiguration> logDeliveryConfigurations)
Returns the destination, format and type of the logs.
|
ReplicationGroup |
withLogDeliveryConfigurations(LogDeliveryConfiguration... logDeliveryConfigurations)
Returns the destination, format and type of the logs.
|
ReplicationGroup |
withMemberClusters(Collection<String> memberClusters)
The names of all the cache clusters that are part of this replication group.
|
ReplicationGroup |
withMemberClusters(String... memberClusters)
The names of all the cache clusters that are part of this replication group.
|
ReplicationGroup |
withMemberClustersOutpostArns(Collection<String> memberClustersOutpostArns)
The outpost ARNs of the replication group's member clusters.
|
ReplicationGroup |
withMemberClustersOutpostArns(String... memberClustersOutpostArns)
The outpost ARNs of the replication group's member clusters.
|
ReplicationGroup |
withMultiAZ(MultiAZStatus multiAZ)
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance.
|
ReplicationGroup |
withMultiAZ(String multiAZ)
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance.
|
ReplicationGroup |
withNodeGroups(Collection<NodeGroup> nodeGroups)
A list of node groups in this replication group.
|
ReplicationGroup |
withNodeGroups(NodeGroup... nodeGroups)
A list of node groups in this replication group.
|
ReplicationGroup |
withPendingModifiedValues(ReplicationGroupPendingModifiedValues pendingModifiedValues)
A group of settings to be applied to the replication group, either immediately or during the next maintenance
window.
|
ReplicationGroup |
withReplicationGroupCreateTime(Date replicationGroupCreateTime)
The date and time when the cluster was created.
|
ReplicationGroup |
withReplicationGroupId(String replicationGroupId)
The identifier for the replication group.
|
ReplicationGroup |
withSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which ElastiCache retains automatic cluster snapshots before deleting them.
|
ReplicationGroup |
withSnapshottingClusterId(String snapshottingClusterId)
The cluster ID that is used as the daily snapshot source for the replication group.
|
ReplicationGroup |
withSnapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
|
ReplicationGroup |
withStatus(String status)
The current state of this replication group -
creating , available ,
modifying , deleting , create-failed , snapshotting . |
ReplicationGroup |
withTransitEncryptionEnabled(Boolean transitEncryptionEnabled)
A flag that enables in-transit encryption when set to
true . |
ReplicationGroup |
withUserGroupIds(Collection<String> userGroupIds)
The ID of the user group associated to the replication group.
|
ReplicationGroup |
withUserGroupIds(String... userGroupIds)
The ID of the user group associated to the replication group.
|
public void setReplicationGroupId(String replicationGroupId)
The identifier for the replication group.
replicationGroupId
- The identifier for the replication group.public String getReplicationGroupId()
The identifier for the replication group.
public ReplicationGroup withReplicationGroupId(String replicationGroupId)
The identifier for the replication group.
replicationGroupId
- The identifier for the replication group.public void setDescription(String description)
The user supplied description of the replication group.
description
- The user supplied description of the replication group.public String getDescription()
The user supplied description of the replication group.
public ReplicationGroup withDescription(String description)
The user supplied description of the replication group.
description
- The user supplied description of the replication group.public void setGlobalReplicationGroupInfo(GlobalReplicationGroupInfo globalReplicationGroupInfo)
The name of the Global datastore and role of this replication group in the Global datastore.
globalReplicationGroupInfo
- The name of the Global datastore and role of this replication group in the Global datastore.public GlobalReplicationGroupInfo getGlobalReplicationGroupInfo()
The name of the Global datastore and role of this replication group in the Global datastore.
public ReplicationGroup withGlobalReplicationGroupInfo(GlobalReplicationGroupInfo globalReplicationGroupInfo)
The name of the Global datastore and role of this replication group in the Global datastore.
globalReplicationGroupInfo
- The name of the Global datastore and role of this replication group in the Global datastore.public void setStatus(String status)
The current state of this replication group - creating
, available
,
modifying
, deleting
, create-failed
, snapshotting
.
status
- The current state of this replication group - creating
, available
,
modifying
, deleting
, create-failed
, snapshotting
.public String getStatus()
The current state of this replication group - creating
, available
,
modifying
, deleting
, create-failed
, snapshotting
.
creating
, available
,
modifying
, deleting
, create-failed
, snapshotting
.public ReplicationGroup withStatus(String status)
The current state of this replication group - creating
, available
,
modifying
, deleting
, create-failed
, snapshotting
.
status
- The current state of this replication group - creating
, available
,
modifying
, deleting
, create-failed
, snapshotting
.public void setPendingModifiedValues(ReplicationGroupPendingModifiedValues pendingModifiedValues)
A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
pendingModifiedValues
- A group of settings to be applied to the replication group, either immediately or during the next
maintenance window.public ReplicationGroupPendingModifiedValues getPendingModifiedValues()
A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
public ReplicationGroup withPendingModifiedValues(ReplicationGroupPendingModifiedValues pendingModifiedValues)
A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
pendingModifiedValues
- A group of settings to be applied to the replication group, either immediately or during the next
maintenance window.public List<String> getMemberClusters()
The names of all the cache clusters that are part of this replication group.
public void setMemberClusters(Collection<String> memberClusters)
The names of all the cache clusters that are part of this replication group.
memberClusters
- The names of all the cache clusters that are part of this replication group.public ReplicationGroup withMemberClusters(String... memberClusters)
The names of all the cache clusters that are part of this replication group.
NOTE: This method appends the values to the existing list (if any). Use
setMemberClusters(java.util.Collection)
or withMemberClusters(java.util.Collection)
if you want
to override the existing values.
memberClusters
- The names of all the cache clusters that are part of this replication group.public ReplicationGroup withMemberClusters(Collection<String> memberClusters)
The names of all the cache clusters that are part of this replication group.
memberClusters
- The names of all the cache clusters that are part of this replication group.public List<NodeGroup> getNodeGroups()
A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).
public void setNodeGroups(Collection<NodeGroup> nodeGroups)
A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).
nodeGroups
- A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups,
this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an
entry for each node group (shard).public ReplicationGroup withNodeGroups(NodeGroup... nodeGroups)
A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).
NOTE: This method appends the values to the existing list (if any). Use
setNodeGroups(java.util.Collection)
or withNodeGroups(java.util.Collection)
if you want to
override the existing values.
nodeGroups
- A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups,
this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an
entry for each node group (shard).public ReplicationGroup withNodeGroups(Collection<NodeGroup> nodeGroups)
A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).
nodeGroups
- A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups,
this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an
entry for each node group (shard).public void setSnapshottingClusterId(String snapshottingClusterId)
The cluster ID that is used as the daily snapshot source for the replication group.
snapshottingClusterId
- The cluster ID that is used as the daily snapshot source for the replication group.public String getSnapshottingClusterId()
The cluster ID that is used as the daily snapshot source for the replication group.
public ReplicationGroup withSnapshottingClusterId(String snapshottingClusterId)
The cluster ID that is used as the daily snapshot source for the replication group.
snapshottingClusterId
- The cluster ID that is used as the daily snapshot source for the replication group.public void setAutomaticFailover(String automaticFailover)
Indicates the status of automatic failover for this Redis replication group.
automaticFailover
- Indicates the status of automatic failover for this Redis replication group.AutomaticFailoverStatus
public String getAutomaticFailover()
Indicates the status of automatic failover for this Redis replication group.
AutomaticFailoverStatus
public ReplicationGroup withAutomaticFailover(String automaticFailover)
Indicates the status of automatic failover for this Redis replication group.
automaticFailover
- Indicates the status of automatic failover for this Redis replication group.AutomaticFailoverStatus
public void setAutomaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates the status of automatic failover for this Redis replication group.
automaticFailover
- Indicates the status of automatic failover for this Redis replication group.AutomaticFailoverStatus
public ReplicationGroup withAutomaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates the status of automatic failover for this Redis replication group.
automaticFailover
- Indicates the status of automatic failover for this Redis replication group.AutomaticFailoverStatus
public void setMultiAZ(String multiAZ)
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ
multiAZ
- A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime:
Multi-AZMultiAZStatus
public String getMultiAZ()
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ
MultiAZStatus
public ReplicationGroup withMultiAZ(String multiAZ)
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ
multiAZ
- A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime:
Multi-AZMultiAZStatus
public void setMultiAZ(MultiAZStatus multiAZ)
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ
multiAZ
- A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime:
Multi-AZMultiAZStatus
public ReplicationGroup withMultiAZ(MultiAZStatus multiAZ)
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ
multiAZ
- A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime:
Multi-AZMultiAZStatus
public void setConfigurationEndpoint(Endpoint configurationEndpoint)
The configuration endpoint for this replication group. Use the configuration endpoint to connect to this replication group.
configurationEndpoint
- The configuration endpoint for this replication group. Use the configuration endpoint to connect to this
replication group.public Endpoint getConfigurationEndpoint()
The configuration endpoint for this replication group. Use the configuration endpoint to connect to this replication group.
public ReplicationGroup withConfigurationEndpoint(Endpoint configurationEndpoint)
The configuration endpoint for this replication group. Use the configuration endpoint to connect to this replication group.
configurationEndpoint
- The configuration endpoint for this replication group. Use the configuration endpoint to connect to this
replication group.public void setSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which ElastiCache retains automatic cluster 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.
If the value of SnapshotRetentionLimit
is set to zero (0), backups are turned off.
snapshotRetentionLimit
- The number of days for which ElastiCache retains automatic cluster 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.
If the value of SnapshotRetentionLimit
is set to zero (0), backups are turned off.
public Integer getSnapshotRetentionLimit()
The number of days for which ElastiCache retains automatic cluster 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.
If the value of SnapshotRetentionLimit
is set to zero (0), backups are turned off.
SnapshotRetentionLimit
to 5, a snapshot that was taken today is retained
for 5 days before being deleted.
If the value of SnapshotRetentionLimit
is set to zero (0), backups are turned off.
public ReplicationGroup withSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which ElastiCache retains automatic cluster 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.
If the value of SnapshotRetentionLimit
is set to zero (0), backups are turned off.
snapshotRetentionLimit
- The number of days for which ElastiCache retains automatic cluster 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.
If the value of SnapshotRetentionLimit
is set to zero (0), backups are turned off.
public void setSnapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
Example: 05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
This parameter is only valid if the Engine
parameter is redis
.
snapshotWindow
- The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group
(shard).
Example: 05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
This parameter is only valid if the Engine
parameter is redis
.
public String getSnapshotWindow()
The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
Example: 05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
This parameter is only valid if the Engine
parameter is redis
.
Example: 05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
This parameter is only valid if the Engine
parameter is redis
.
public ReplicationGroup withSnapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
Example: 05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
This parameter is only valid if the Engine
parameter is redis
.
snapshotWindow
- The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group
(shard).
Example: 05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
This parameter is only valid if the Engine
parameter is redis
.
public void setClusterEnabled(Boolean clusterEnabled)
A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be partitioned across multiple shards (API/CLI: node groups).
Valid values: true
| false
clusterEnabled
- A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be
partitioned across multiple shards (API/CLI: node groups).
Valid values: true
| false
public Boolean getClusterEnabled()
A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be partitioned across multiple shards (API/CLI: node groups).
Valid values: true
| false
Valid values: true
| false
public ReplicationGroup withClusterEnabled(Boolean clusterEnabled)
A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be partitioned across multiple shards (API/CLI: node groups).
Valid values: true
| false
clusterEnabled
- A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be
partitioned across multiple shards (API/CLI: node groups).
Valid values: true
| false
public Boolean isClusterEnabled()
A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be partitioned across multiple shards (API/CLI: node groups).
Valid values: true
| false
Valid values: true
| false
public void setCacheNodeType(String cacheNodeType)
The name of the compute and memory capacity node type for each node in the replication group.
cacheNodeType
- The name of the compute and memory capacity node type for each node in the replication group.public String getCacheNodeType()
The name of the compute and memory capacity node type for each node in the replication group.
public ReplicationGroup withCacheNodeType(String cacheNodeType)
The name of the compute and memory capacity node type for each node in the replication group.
cacheNodeType
- The name of the compute and memory capacity node type for each node in the replication group.public void setAuthTokenEnabled(Boolean authTokenEnabled)
A flag that enables using an AuthToken
(password) when issuing Redis commands.
Default: false
authTokenEnabled
- A flag that enables using an AuthToken
(password) when issuing Redis commands.
Default: false
public Boolean getAuthTokenEnabled()
A flag that enables using an AuthToken
(password) when issuing Redis commands.
Default: false
AuthToken
(password) when issuing Redis commands.
Default: false
public ReplicationGroup withAuthTokenEnabled(Boolean authTokenEnabled)
A flag that enables using an AuthToken
(password) when issuing Redis commands.
Default: false
authTokenEnabled
- A flag that enables using an AuthToken
(password) when issuing Redis commands.
Default: false
public Boolean isAuthTokenEnabled()
A flag that enables using an AuthToken
(password) when issuing Redis commands.
Default: false
AuthToken
(password) when issuing Redis commands.
Default: false
public void setAuthTokenLastModifiedDate(Date authTokenLastModifiedDate)
The date the auth token was last modified
authTokenLastModifiedDate
- The date the auth token was last modifiedpublic Date getAuthTokenLastModifiedDate()
The date the auth token was last modified
public ReplicationGroup withAuthTokenLastModifiedDate(Date authTokenLastModifiedDate)
The date the auth token was last modified
authTokenLastModifiedDate
- The date the auth token was last modifiedpublic void setTransitEncryptionEnabled(Boolean transitEncryptionEnabled)
A flag that enables in-transit encryption when set to true
.
You cannot modify the value of TransitEncryptionEnabled
after the cluster is created. To enable
in-transit encryption on a cluster you must set TransitEncryptionEnabled
to true
when
you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
transitEncryptionEnabled
- A flag that enables in-transit encryption when set to true
.
You cannot modify the value of TransitEncryptionEnabled
after the cluster is created. To
enable in-transit encryption on a cluster you must set TransitEncryptionEnabled
to
true
when you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
public Boolean getTransitEncryptionEnabled()
A flag that enables in-transit encryption when set to true
.
You cannot modify the value of TransitEncryptionEnabled
after the cluster is created. To enable
in-transit encryption on a cluster you must set TransitEncryptionEnabled
to true
when
you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
true
.
You cannot modify the value of TransitEncryptionEnabled
after the cluster is created. To
enable in-transit encryption on a cluster you must set TransitEncryptionEnabled
to
true
when you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
public ReplicationGroup withTransitEncryptionEnabled(Boolean transitEncryptionEnabled)
A flag that enables in-transit encryption when set to true
.
You cannot modify the value of TransitEncryptionEnabled
after the cluster is created. To enable
in-transit encryption on a cluster you must set TransitEncryptionEnabled
to true
when
you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
transitEncryptionEnabled
- A flag that enables in-transit encryption when set to true
.
You cannot modify the value of TransitEncryptionEnabled
after the cluster is created. To
enable in-transit encryption on a cluster you must set TransitEncryptionEnabled
to
true
when you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
public Boolean isTransitEncryptionEnabled()
A flag that enables in-transit encryption when set to true
.
You cannot modify the value of TransitEncryptionEnabled
after the cluster is created. To enable
in-transit encryption on a cluster you must set TransitEncryptionEnabled
to true
when
you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
true
.
You cannot modify the value of TransitEncryptionEnabled
after the cluster is created. To
enable in-transit encryption on a cluster you must set TransitEncryptionEnabled
to
true
when you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
public void setAtRestEncryptionEnabled(Boolean atRestEncryptionEnabled)
A flag that enables encryption at-rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the cluster is created. To enable
encryption at-rest on a cluster you must set AtRestEncryptionEnabled
to true
when you
create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
atRestEncryptionEnabled
- A flag that enables encryption at-rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the cluster is created. To
enable encryption at-rest on a cluster you must set AtRestEncryptionEnabled
to
true
when you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
public Boolean getAtRestEncryptionEnabled()
A flag that enables encryption at-rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the cluster is created. To enable
encryption at-rest on a cluster you must set AtRestEncryptionEnabled
to true
when you
create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
true
.
You cannot modify the value of AtRestEncryptionEnabled
after the cluster is created. To
enable encryption at-rest on a cluster you must set AtRestEncryptionEnabled
to
true
when you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
public ReplicationGroup withAtRestEncryptionEnabled(Boolean atRestEncryptionEnabled)
A flag that enables encryption at-rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the cluster is created. To enable
encryption at-rest on a cluster you must set AtRestEncryptionEnabled
to true
when you
create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
atRestEncryptionEnabled
- A flag that enables encryption at-rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the cluster is created. To
enable encryption at-rest on a cluster you must set AtRestEncryptionEnabled
to
true
when you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
public Boolean isAtRestEncryptionEnabled()
A flag that enables encryption at-rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the cluster is created. To enable
encryption at-rest on a cluster you must set AtRestEncryptionEnabled
to true
when you
create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
true
.
You cannot modify the value of AtRestEncryptionEnabled
after the cluster is created. To
enable encryption at-rest on a cluster you must set AtRestEncryptionEnabled
to
true
when you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
Default: false
public List<String> getMemberClustersOutpostArns()
The outpost ARNs of the replication group's member clusters.
public void setMemberClustersOutpostArns(Collection<String> memberClustersOutpostArns)
The outpost ARNs of the replication group's member clusters.
memberClustersOutpostArns
- The outpost ARNs of the replication group's member clusters.public ReplicationGroup withMemberClustersOutpostArns(String... memberClustersOutpostArns)
The outpost ARNs of the replication group's member clusters.
NOTE: This method appends the values to the existing list (if any). Use
setMemberClustersOutpostArns(java.util.Collection)
or
withMemberClustersOutpostArns(java.util.Collection)
if you want to override the existing values.
memberClustersOutpostArns
- The outpost ARNs of the replication group's member clusters.public ReplicationGroup withMemberClustersOutpostArns(Collection<String> memberClustersOutpostArns)
The outpost ARNs of the replication group's member clusters.
memberClustersOutpostArns
- The outpost ARNs of the replication group's member clusters.public void setKmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the disk in the cluster.
kmsKeyId
- The ID of the KMS key used to encrypt the disk in the cluster.public String getKmsKeyId()
The ID of the KMS key used to encrypt the disk in the cluster.
public ReplicationGroup withKmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the disk in the cluster.
kmsKeyId
- The ID of the KMS key used to encrypt the disk in the cluster.public void setARN(String aRN)
The ARN (Amazon Resource Name) of the replication group.
aRN
- The ARN (Amazon Resource Name) of the replication group.public String getARN()
The ARN (Amazon Resource Name) of the replication group.
public ReplicationGroup withARN(String aRN)
The ARN (Amazon Resource Name) of the replication group.
aRN
- The ARN (Amazon Resource Name) of the replication group.public List<String> getUserGroupIds()
The ID of the user group associated to the replication group.
public void setUserGroupIds(Collection<String> userGroupIds)
The ID of the user group associated to the replication group.
userGroupIds
- The ID of the user group associated to the replication group.public ReplicationGroup withUserGroupIds(String... userGroupIds)
The ID of the user group associated to the replication group.
NOTE: This method appends the values to the existing list (if any). Use
setUserGroupIds(java.util.Collection)
or withUserGroupIds(java.util.Collection)
if you want to
override the existing values.
userGroupIds
- The ID of the user group associated to the replication group.public ReplicationGroup withUserGroupIds(Collection<String> userGroupIds)
The ID of the user group associated to the replication group.
userGroupIds
- The ID of the user group associated to the replication group.public List<LogDeliveryConfiguration> getLogDeliveryConfigurations()
Returns the destination, format and type of the logs.
public void setLogDeliveryConfigurations(Collection<LogDeliveryConfiguration> logDeliveryConfigurations)
Returns the destination, format and type of the logs.
logDeliveryConfigurations
- Returns the destination, format and type of the logs.public ReplicationGroup withLogDeliveryConfigurations(LogDeliveryConfiguration... logDeliveryConfigurations)
Returns the destination, format and type of the logs.
NOTE: This method appends the values to the existing list (if any). Use
setLogDeliveryConfigurations(java.util.Collection)
or
withLogDeliveryConfigurations(java.util.Collection)
if you want to override the existing values.
logDeliveryConfigurations
- Returns the destination, format and type of the logs.public ReplicationGroup withLogDeliveryConfigurations(Collection<LogDeliveryConfiguration> logDeliveryConfigurations)
Returns the destination, format and type of the logs.
logDeliveryConfigurations
- Returns the destination, format and type of the logs.public void setReplicationGroupCreateTime(Date replicationGroupCreateTime)
The date and time when the cluster was created.
replicationGroupCreateTime
- The date and time when the cluster was created.public Date getReplicationGroupCreateTime()
The date and time when the cluster was created.
public ReplicationGroup withReplicationGroupCreateTime(Date replicationGroupCreateTime)
The date and time when the cluster was created.
replicationGroupCreateTime
- The date and time when the cluster was created.public String toString()
toString
in class Object
Object.toString()
public ReplicationGroup clone()