@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GlobalReplicationGroup extends Object implements Serializable, Cloneable
Consists of a primary cluster that accepts writes and an associated secondary cluster that resides in a different AWS region. The secondary cluster accepts only reads. The primary cluster automatically replicates updates to the secondary cluster.
The GlobalReplicationGroupId represents the name of the Global Datastore, which is what you use to associate a secondary cluster.
Constructor and Description |
---|
GlobalReplicationGroup() |
Modifier and Type | Method and Description |
---|---|
GlobalReplicationGroup |
clone() |
boolean |
equals(Object obj) |
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. |
String |
getCacheNodeType()
The cache node type of the Global Datastore
|
Boolean |
getClusterEnabled()
A flag that indicates whether the Global Datastore is cluster enabled.
|
String |
getEngine()
The Elasticache engine.
|
String |
getEngineVersion()
The Elasticache Redis engine version.
|
List<GlobalNodeGroup> |
getGlobalNodeGroups()
Indicates the slot configuration and global identifier for each slice group.
|
String |
getGlobalReplicationGroupDescription()
The optional description of the Global Datastore
|
String |
getGlobalReplicationGroupId()
The name of the Global Datastore
|
List<GlobalReplicationGroupMember> |
getMembers()
The replication groups that comprise the Global Datastore.
|
String |
getStatus()
The status of the Global Datastore
|
Boolean |
getTransitEncryptionEnabled()
A flag that enables in-transit encryption when set to true.
|
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 that indicates whether the Global Datastore is cluster enabled.
|
Boolean |
isTransitEncryptionEnabled()
A flag that enables in-transit encryption when set to true.
|
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 |
setCacheNodeType(String cacheNodeType)
The cache node type of the Global Datastore
|
void |
setClusterEnabled(Boolean clusterEnabled)
A flag that indicates whether the Global Datastore is cluster enabled.
|
void |
setEngine(String engine)
The Elasticache engine.
|
void |
setEngineVersion(String engineVersion)
The Elasticache Redis engine version.
|
void |
setGlobalNodeGroups(Collection<GlobalNodeGroup> globalNodeGroups)
Indicates the slot configuration and global identifier for each slice group.
|
void |
setGlobalReplicationGroupDescription(String globalReplicationGroupDescription)
The optional description of the Global Datastore
|
void |
setGlobalReplicationGroupId(String globalReplicationGroupId)
The name of the Global Datastore
|
void |
setMembers(Collection<GlobalReplicationGroupMember> members)
The replication groups that comprise the Global Datastore.
|
void |
setStatus(String status)
The status of the Global Datastore
|
void |
setTransitEncryptionEnabled(Boolean transitEncryptionEnabled)
A flag that enables in-transit encryption when set to true.
|
String |
toString()
Returns a string representation of this object.
|
GlobalReplicationGroup |
withAtRestEncryptionEnabled(Boolean atRestEncryptionEnabled)
A flag that enables encryption at rest when set to
true . |
GlobalReplicationGroup |
withAuthTokenEnabled(Boolean authTokenEnabled)
A flag that enables using an
AuthToken (password) when issuing Redis commands. |
GlobalReplicationGroup |
withCacheNodeType(String cacheNodeType)
The cache node type of the Global Datastore
|
GlobalReplicationGroup |
withClusterEnabled(Boolean clusterEnabled)
A flag that indicates whether the Global Datastore is cluster enabled.
|
GlobalReplicationGroup |
withEngine(String engine)
The Elasticache engine.
|
GlobalReplicationGroup |
withEngineVersion(String engineVersion)
The Elasticache Redis engine version.
|
GlobalReplicationGroup |
withGlobalNodeGroups(Collection<GlobalNodeGroup> globalNodeGroups)
Indicates the slot configuration and global identifier for each slice group.
|
GlobalReplicationGroup |
withGlobalNodeGroups(GlobalNodeGroup... globalNodeGroups)
Indicates the slot configuration and global identifier for each slice group.
|
GlobalReplicationGroup |
withGlobalReplicationGroupDescription(String globalReplicationGroupDescription)
The optional description of the Global Datastore
|
GlobalReplicationGroup |
withGlobalReplicationGroupId(String globalReplicationGroupId)
The name of the Global Datastore
|
GlobalReplicationGroup |
withMembers(Collection<GlobalReplicationGroupMember> members)
The replication groups that comprise the Global Datastore.
|
GlobalReplicationGroup |
withMembers(GlobalReplicationGroupMember... members)
The replication groups that comprise the Global Datastore.
|
GlobalReplicationGroup |
withStatus(String status)
The status of the Global Datastore
|
GlobalReplicationGroup |
withTransitEncryptionEnabled(Boolean transitEncryptionEnabled)
A flag that enables in-transit encryption when set to true.
|
public void setGlobalReplicationGroupId(String globalReplicationGroupId)
The name of the Global Datastore
globalReplicationGroupId
- The name of the Global Datastorepublic String getGlobalReplicationGroupId()
The name of the Global Datastore
public GlobalReplicationGroup withGlobalReplicationGroupId(String globalReplicationGroupId)
The name of the Global Datastore
globalReplicationGroupId
- The name of the Global Datastorepublic void setGlobalReplicationGroupDescription(String globalReplicationGroupDescription)
The optional description of the Global Datastore
globalReplicationGroupDescription
- The optional description of the Global Datastorepublic String getGlobalReplicationGroupDescription()
The optional description of the Global Datastore
public GlobalReplicationGroup withGlobalReplicationGroupDescription(String globalReplicationGroupDescription)
The optional description of the Global Datastore
globalReplicationGroupDescription
- The optional description of the Global Datastorepublic void setStatus(String status)
The status of the Global Datastore
status
- The status of the Global Datastorepublic String getStatus()
The status of the Global Datastore
public GlobalReplicationGroup withStatus(String status)
The status of the Global Datastore
status
- The status of the Global Datastorepublic void setCacheNodeType(String cacheNodeType)
The cache node type of the Global Datastore
cacheNodeType
- The cache node type of the Global Datastorepublic String getCacheNodeType()
The cache node type of the Global Datastore
public GlobalReplicationGroup withCacheNodeType(String cacheNodeType)
The cache node type of the Global Datastore
cacheNodeType
- The cache node type of the Global Datastorepublic void setEngine(String engine)
The Elasticache engine. For preview, it is Redis only.
engine
- The Elasticache engine. For preview, it is Redis only.public String getEngine()
The Elasticache engine. For preview, it is Redis only.
public GlobalReplicationGroup withEngine(String engine)
The Elasticache engine. For preview, it is Redis only.
engine
- The Elasticache engine. For preview, it is Redis only.public void setEngineVersion(String engineVersion)
The Elasticache Redis engine version. For preview, it is Redis version 5.0.5 only.
engineVersion
- The Elasticache Redis engine version. For preview, it is Redis version 5.0.5 only.public String getEngineVersion()
The Elasticache Redis engine version. For preview, it is Redis version 5.0.5 only.
public GlobalReplicationGroup withEngineVersion(String engineVersion)
The Elasticache Redis engine version. For preview, it is Redis version 5.0.5 only.
engineVersion
- The Elasticache Redis engine version. For preview, it is Redis version 5.0.5 only.public List<GlobalReplicationGroupMember> getMembers()
The replication groups that comprise the Global Datastore.
public void setMembers(Collection<GlobalReplicationGroupMember> members)
The replication groups that comprise the Global Datastore.
members
- The replication groups that comprise the Global Datastore.public GlobalReplicationGroup withMembers(GlobalReplicationGroupMember... members)
The replication groups that comprise the Global Datastore.
NOTE: This method appends the values to the existing list (if any). Use
setMembers(java.util.Collection)
or withMembers(java.util.Collection)
if you want to override
the existing values.
members
- The replication groups that comprise the Global Datastore.public GlobalReplicationGroup withMembers(Collection<GlobalReplicationGroupMember> members)
The replication groups that comprise the Global Datastore.
members
- The replication groups that comprise the Global Datastore.public void setClusterEnabled(Boolean clusterEnabled)
A flag that indicates whether the Global Datastore is cluster enabled.
clusterEnabled
- A flag that indicates whether the Global Datastore is cluster enabled.public Boolean getClusterEnabled()
A flag that indicates whether the Global Datastore is cluster enabled.
public GlobalReplicationGroup withClusterEnabled(Boolean clusterEnabled)
A flag that indicates whether the Global Datastore is cluster enabled.
clusterEnabled
- A flag that indicates whether the Global Datastore is cluster enabled.public Boolean isClusterEnabled()
A flag that indicates whether the Global Datastore is cluster enabled.
public List<GlobalNodeGroup> getGlobalNodeGroups()
Indicates the slot configuration and global identifier for each slice group.
public void setGlobalNodeGroups(Collection<GlobalNodeGroup> globalNodeGroups)
Indicates the slot configuration and global identifier for each slice group.
globalNodeGroups
- Indicates the slot configuration and global identifier for each slice group.public GlobalReplicationGroup withGlobalNodeGroups(GlobalNodeGroup... globalNodeGroups)
Indicates the slot configuration and global identifier for each slice group.
NOTE: This method appends the values to the existing list (if any). Use
setGlobalNodeGroups(java.util.Collection)
or withGlobalNodeGroups(java.util.Collection)
if you
want to override the existing values.
globalNodeGroups
- Indicates the slot configuration and global identifier for each slice group.public GlobalReplicationGroup withGlobalNodeGroups(Collection<GlobalNodeGroup> globalNodeGroups)
Indicates the slot configuration and global identifier for each slice group.
globalNodeGroups
- Indicates the slot configuration and global identifier for each slice 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 GlobalReplicationGroup 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 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.
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.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.
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.public GlobalReplicationGroup 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.
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.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.
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.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 replication group is created. To
enable encryption at rest on a replication group you must set AtRestEncryptionEnabled
to
true
when you create the replication group.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
atRestEncryptionEnabled
- A flag that enables encryption at rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the replication group is
created. To enable encryption at rest on a replication group you must set
AtRestEncryptionEnabled
to true
when you create the replication group.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
public Boolean getAtRestEncryptionEnabled()
A flag that enables encryption at rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the replication group is created. To
enable encryption at rest on a replication group you must set AtRestEncryptionEnabled
to
true
when you create the replication group.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
true
.
You cannot modify the value of AtRestEncryptionEnabled
after the replication group is
created. To enable encryption at rest on a replication group you must set
AtRestEncryptionEnabled
to true
when you create the replication group.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
public GlobalReplicationGroup withAtRestEncryptionEnabled(Boolean atRestEncryptionEnabled)
A flag that enables encryption at rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the replication group is created. To
enable encryption at rest on a replication group you must set AtRestEncryptionEnabled
to
true
when you create the replication group.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
atRestEncryptionEnabled
- A flag that enables encryption at rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the replication group is
created. To enable encryption at rest on a replication group you must set
AtRestEncryptionEnabled
to true
when you create the replication group.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
public Boolean isAtRestEncryptionEnabled()
A flag that enables encryption at rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the replication group is created. To
enable encryption at rest on a replication group you must set AtRestEncryptionEnabled
to
true
when you create the replication group.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
true
.
You cannot modify the value of AtRestEncryptionEnabled
after the replication group is
created. To enable encryption at rest on a replication group you must set
AtRestEncryptionEnabled
to true
when you create the replication group.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
, 4.x
or later.
public String toString()
toString
in class Object
Object.toString()
public GlobalReplicationGroup clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.