public class ReplicationGroup
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains all of the attributes of a specific replication group.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
automaticFailover
Indicates the status of Multi-AZ for this replication group.
|
private java.lang.String |
description
The description of the replication group.
|
private SdkInternalList<java.lang.String> |
memberClusters
The names of all the cache clusters that are part of this replication
group.
|
private SdkInternalList<NodeGroup> |
nodeGroups
A single element list with information about the nodes in the replication
group.
|
private ReplicationGroupPendingModifiedValues |
pendingModifiedValues
A group of settings to be applied to the replication group, either
immediately or during the next maintenance window.
|
private java.lang.String |
replicationGroupId
The identifier for the replication group.
|
private java.lang.String |
snapshottingClusterId
The cache cluster ID that is used as the daily snapshot source for the
replication group.
|
private java.lang.String |
status
The current state of this replication group - creating,
available, etc.
|
Constructor and Description |
---|
ReplicationGroup() |
Modifier and Type | Method and Description |
---|---|
ReplicationGroup |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutomaticFailover()
Indicates the status of Multi-AZ for this replication group.
|
java.lang.String |
getDescription()
The description of the replication group.
|
java.util.List<java.lang.String> |
getMemberClusters()
The names of all the cache clusters that are part of this replication
group.
|
java.util.List<NodeGroup> |
getNodeGroups()
A single element list with information about the nodes in the replication
group.
|
ReplicationGroupPendingModifiedValues |
getPendingModifiedValues()
A group of settings to be applied to the replication group, either
immediately or during the next maintenance window.
|
java.lang.String |
getReplicationGroupId()
The identifier for the replication group.
|
java.lang.String |
getSnapshottingClusterId()
The cache cluster ID that is used as the daily snapshot source for the
replication group.
|
java.lang.String |
getStatus()
The current state of this replication group - creating,
available, etc.
|
int |
hashCode() |
void |
setAutomaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates the status of Multi-AZ for this replication group.
|
void |
setAutomaticFailover(java.lang.String automaticFailover)
Indicates the status of Multi-AZ for this replication group.
|
void |
setDescription(java.lang.String description)
The description of the replication group.
|
void |
setMemberClusters(java.util.Collection<java.lang.String> memberClusters)
The names of all the cache clusters that are part of this replication
group.
|
void |
setNodeGroups(java.util.Collection<NodeGroup> nodeGroups)
A single element list with information about the nodes in the 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 |
setReplicationGroupId(java.lang.String replicationGroupId)
The identifier for the replication group.
|
void |
setSnapshottingClusterId(java.lang.String snapshottingClusterId)
The cache cluster ID that is used as the daily snapshot source for the
replication group.
|
void |
setStatus(java.lang.String status)
The current state of this replication group - creating,
available, etc.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplicationGroup |
withAutomaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates the status of Multi-AZ for this replication group.
|
ReplicationGroup |
withAutomaticFailover(java.lang.String automaticFailover)
Indicates the status of Multi-AZ for this replication group.
|
ReplicationGroup |
withDescription(java.lang.String description)
The description of the replication group.
|
ReplicationGroup |
withMemberClusters(java.util.Collection<java.lang.String> memberClusters)
The names of all the cache clusters that are part of this replication
group.
|
ReplicationGroup |
withMemberClusters(java.lang.String... memberClusters)
The names of all the cache clusters that are part of this replication
group.
|
ReplicationGroup |
withNodeGroups(java.util.Collection<NodeGroup> nodeGroups)
A single element list with information about the nodes in the replication
group.
|
ReplicationGroup |
withNodeGroups(NodeGroup... nodeGroups)
A single element list with information about the nodes in the 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 |
withReplicationGroupId(java.lang.String replicationGroupId)
The identifier for the replication group.
|
ReplicationGroup |
withSnapshottingClusterId(java.lang.String snapshottingClusterId)
The cache cluster ID that is used as the daily snapshot source for the
replication group.
|
ReplicationGroup |
withStatus(java.lang.String status)
The current state of this replication group - creating,
available, etc.
|
private java.lang.String replicationGroupId
The identifier for the replication group.
private java.lang.String description
The description of the replication group.
private java.lang.String status
The current state of this replication group - creating, available, etc.
private ReplicationGroupPendingModifiedValues pendingModifiedValues
A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
private SdkInternalList<java.lang.String> memberClusters
The names of all the cache clusters that are part of this replication group.
private SdkInternalList<NodeGroup> nodeGroups
A single element list with information about the nodes in the replication group.
private java.lang.String snapshottingClusterId
The cache cluster ID that is used as the daily snapshot source for the replication group.
private java.lang.String automaticFailover
Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
public void setReplicationGroupId(java.lang.String replicationGroupId)
The identifier for the replication group.
replicationGroupId
- The identifier for the replication group.public java.lang.String getReplicationGroupId()
The identifier for the replication group.
public ReplicationGroup withReplicationGroupId(java.lang.String replicationGroupId)
The identifier for the replication group.
replicationGroupId
- The identifier for the replication group.public void setDescription(java.lang.String description)
The description of the replication group.
description
- The description of the replication group.public java.lang.String getDescription()
The description of the replication group.
public ReplicationGroup withDescription(java.lang.String description)
The description of the replication group.
description
- The description of the replication group.public void setStatus(java.lang.String status)
The current state of this replication group - creating, available, etc.
status
- The current state of this replication group - creating,
available, etc.public java.lang.String getStatus()
The current state of this replication group - creating, available, etc.
public ReplicationGroup withStatus(java.lang.String status)
The current state of this replication group - creating, available, etc.
status
- The current state of this replication group - creating,
available, etc.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 java.util.List<java.lang.String> getMemberClusters()
The names of all the cache clusters that are part of this replication group.
public void setMemberClusters(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.List<NodeGroup> getNodeGroups()
A single element list with information about the nodes in the replication group.
public void setNodeGroups(java.util.Collection<NodeGroup> nodeGroups)
A single element list with information about the nodes in the replication group.
nodeGroups
- A single element list with information about the nodes in the
replication group.public ReplicationGroup withNodeGroups(NodeGroup... nodeGroups)
A single element list with information about the nodes in the replication group.
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 single element list with information about the nodes in the
replication group.public ReplicationGroup withNodeGroups(java.util.Collection<NodeGroup> nodeGroups)
A single element list with information about the nodes in the replication group.
nodeGroups
- A single element list with information about the nodes in the
replication group.public void setSnapshottingClusterId(java.lang.String snapshottingClusterId)
The cache cluster ID that is used as the daily snapshot source for the replication group.
snapshottingClusterId
- The cache cluster ID that is used as the daily snapshot source for
the replication group.public java.lang.String getSnapshottingClusterId()
The cache cluster ID that is used as the daily snapshot source for the replication group.
public ReplicationGroup withSnapshottingClusterId(java.lang.String snapshottingClusterId)
The cache cluster ID that is used as the daily snapshot source for the replication group.
snapshottingClusterId
- The cache cluster ID that is used as the daily snapshot source for
the replication group.public void setAutomaticFailover(java.lang.String automaticFailover)
Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
automaticFailover
- Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
AutomaticFailoverStatus
public java.lang.String getAutomaticFailover()
Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
ElastiCache Multi-AZ replication groups are not supported on:
AutomaticFailoverStatus
public ReplicationGroup withAutomaticFailover(java.lang.String automaticFailover)
Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
automaticFailover
- Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
AutomaticFailoverStatus
public void setAutomaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
automaticFailover
- Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
AutomaticFailoverStatus
public ReplicationGroup withAutomaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
automaticFailover
- Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
AutomaticFailoverStatus
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ReplicationGroup clone()
clone
in class java.lang.Object