public class ReplicationGroup extends Object implements Serializable, Cloneable
Contains all of the attributes of a specific replication group.
Constructor and Description |
---|
ReplicationGroup() |
Modifier and Type | Method and Description |
---|---|
ReplicationGroup |
clone() |
boolean |
equals(Object obj) |
String |
getAutomaticFailover()
Indicates the status of Multi-AZ for this replication group.
|
String |
getDescription()
The description of the replication group.
|
List<String> |
getMemberClusters()
The names of all the cache clusters that are part of this replication
group.
|
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.
|
String |
getReplicationGroupId()
The identifier for the replication group.
|
String |
getSnapshottingClusterId()
The cache cluster ID that is used as the daily snapshot source for the
replication group.
|
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(String automaticFailover)
Indicates the status of Multi-AZ for this replication group.
|
void |
setDescription(String description)
The description of the replication group.
|
void |
setMemberClusters(Collection<String> memberClusters)
The names of all the cache clusters that are part of this replication
group.
|
void |
setNodeGroups(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(String replicationGroupId)
The identifier for the replication group.
|
void |
setSnapshottingClusterId(String snapshottingClusterId)
The cache cluster ID that is used as the daily snapshot source for the
replication group.
|
void |
setStatus(String status)
The current state of this replication group - creating,
available, etc.
|
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(String automaticFailover)
Indicates the status of Multi-AZ for this replication group.
|
ReplicationGroup |
withDescription(String description)
The description of the replication group.
|
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 |
withNodeGroups(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(String replicationGroupId)
The identifier for the replication group.
|
ReplicationGroup |
withSnapshottingClusterId(String snapshottingClusterId)
The cache cluster ID that is used as the daily snapshot source for the
replication group.
|
ReplicationGroup |
withStatus(String status)
The current state of this replication group - creating,
available, etc.
|
public String getReplicationGroupId()
public void setReplicationGroupId(String replicationGroupId)
replicationGroupId
- The identifier for the replication group.public ReplicationGroup withReplicationGroupId(String replicationGroupId)
Returns a reference to this object so that method calls can be chained together.
replicationGroupId
- The identifier for the replication group.public String getDescription()
public void setDescription(String description)
description
- The description of the replication group.public ReplicationGroup withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The description of the replication group.public String getStatus()
public void setStatus(String status)
status
- The current state of this replication group - creating,
available, etc.public ReplicationGroup withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- The current state of this replication group - creating,
available, etc.public ReplicationGroupPendingModifiedValues getPendingModifiedValues()
public void setPendingModifiedValues(ReplicationGroupPendingModifiedValues pendingModifiedValues)
pendingModifiedValues
- A group of settings to be applied to the replication group, either
immediately or during the next maintenance window.public ReplicationGroup withPendingModifiedValues(ReplicationGroupPendingModifiedValues pendingModifiedValues)
Returns a reference to this object so that method calls can be chained together.
pendingModifiedValues
- A group of settings to be applied to the replication group, either
immediately or during the next maintenance window.public List<String> getMemberClusters()
public void setMemberClusters(Collection<String> memberClusters)
memberClusters
- The names of all the cache clusters that are part of this replication
group.public ReplicationGroup withMemberClusters(String... memberClusters)
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.
Returns a reference to this object so that method calls can be chained together.
memberClusters
- The names of all the cache clusters that are part of this replication
group.public ReplicationGroup withMemberClusters(Collection<String> memberClusters)
Returns a reference to this object so that method calls can be chained together.
memberClusters
- The names of all the cache clusters that are part of this replication
group.public List<NodeGroup> getNodeGroups()
public void setNodeGroups(Collection<NodeGroup> nodeGroups)
nodeGroups
- A single element list with information about the nodes in the
replication group.public ReplicationGroup withNodeGroups(NodeGroup... nodeGroups)
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.
Returns a reference to this object so that method calls can be chained together.
nodeGroups
- A single element list with information about the nodes in the
replication group.public ReplicationGroup withNodeGroups(Collection<NodeGroup> nodeGroups)
Returns a reference to this object so that method calls can be chained together.
nodeGroups
- A single element list with information about the nodes in the
replication group.public String getSnapshottingClusterId()
public void setSnapshottingClusterId(String snapshottingClusterId)
snapshottingClusterId
- The cache cluster ID that is used as the daily snapshot source for the
replication group.public ReplicationGroup withSnapshottingClusterId(String snapshottingClusterId)
Returns a reference to this object so that method calls can be chained together.
snapshottingClusterId
- The cache cluster ID that is used as the daily snapshot source for the
replication group.public String getAutomaticFailover()
ElastiCache Multi-AZ replication groups are not supported on:
Constraints:
Allowed Values: enabled, disabled, enabling, disabling
ElastiCache Multi-AZ replication groups are not supported on:
AutomaticFailoverStatus
public void setAutomaticFailover(String automaticFailover)
ElastiCache Multi-AZ replication groups are not supported on:
Constraints:
Allowed Values: enabled, disabled, enabling, disabling
automaticFailover
- Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
AutomaticFailoverStatus
public ReplicationGroup withAutomaticFailover(String automaticFailover)
ElastiCache Multi-AZ replication groups are not supported on:
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: enabled, disabled, enabling, disabling
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)
ElastiCache Multi-AZ replication groups are not supported on:
Constraints:
Allowed Values: enabled, disabled, enabling, disabling
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)
ElastiCache Multi-AZ replication groups are not supported on:
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: enabled, disabled, enabling, disabling
automaticFailover
- Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
AutomaticFailoverStatus
public String toString()
toString
in class Object
Object.toString()
public ReplicationGroup clone()
Copyright © 2016. All rights reserved.