Class ReplicationGroup
- All Implemented Interfaces:
Serializable
,Cloneable
Contains all of the attributes of a specific replication group.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates the status of Multi-AZ for this replication group.The description of the replication group.The names of all the cache clusters that are part of this replication group.A single element list with information about the nodes in the replication group.A group of settings to be applied to the replication group, either immediately or during the next maintenance window.The identifier for the replication group.The cache cluster ID that is used as the daily snapshot source for the replication group.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
The current state of this replication group - creating, available, etc.toString()
Returns a string representation of this object; useful for testing and debugging.withAutomaticFailover
(AutomaticFailoverStatus automaticFailover) Indicates the status of Multi-AZ for this replication group.withAutomaticFailover
(String automaticFailover) Indicates the status of Multi-AZ for this replication group.withDescription
(String description) The description of the replication group.withMemberClusters
(String... memberClusters) The names of all the cache clusters that are part of this replication group.withMemberClusters
(Collection<String> memberClusters) The names of all the cache clusters that are part of this replication group.withNodeGroups
(NodeGroup... nodeGroups) A single element list with information about the nodes in the replication group.withNodeGroups
(Collection<NodeGroup> nodeGroups) A single element list with information about the nodes in the replication group.withPendingModifiedValues
(ReplicationGroupPendingModifiedValues pendingModifiedValues) A group of settings to be applied to the replication group, either immediately or during the next maintenance window.withReplicationGroupId
(String replicationGroupId) The identifier for the replication group.withSnapshottingClusterId
(String snapshottingClusterId) The cache cluster ID that is used as the daily snapshot source for the replication group.withStatus
(String status) The current state of this replication group - creating, available, etc.
-
Constructor Details
-
ReplicationGroup
public ReplicationGroup()
-
-
Method Details
-
setReplicationGroupId
The identifier for the replication group.
- Parameters:
replicationGroupId
- The identifier for the replication group.
-
getReplicationGroupId
The identifier for the replication group.
- Returns:
- The identifier for the replication group.
-
withReplicationGroupId
The identifier for the replication group.
- Parameters:
replicationGroupId
- The identifier for the replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The description of the replication group.
- Parameters:
description
- The description of the replication group.
-
getDescription
The description of the replication group.
- Returns:
- The description of the replication group.
-
withDescription
The description of the replication group.
- Parameters:
description
- The description of the replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The current state of this replication group - creating, available, etc.
- Parameters:
status
- The current state of this replication group - creating, available, etc.
-
getStatus
The current state of this replication group - creating, available, etc.
- Returns:
- The current state of this replication group - creating, available, etc.
-
withStatus
The current state of this replication group - creating, available, etc.
- Parameters:
status
- The current state of this replication group - creating, available, etc.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPendingModifiedValues
A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
- Parameters:
pendingModifiedValues
- A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
-
getPendingModifiedValues
A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
- Returns:
- A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
-
withPendingModifiedValues
public ReplicationGroup withPendingModifiedValues(ReplicationGroupPendingModifiedValues pendingModifiedValues) A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
- Parameters:
pendingModifiedValues
- A group of settings to be applied to the replication group, either immediately or during the next maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getMemberClusters
The names of all the cache clusters that are part of this replication group.
- Returns:
- The names of all the cache clusters that are part of this replication group.
-
setMemberClusters
The names of all the cache clusters that are part of this replication group.
- Parameters:
memberClusters
- The names of all the cache clusters that are part of this replication group.
-
withMemberClusters
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)
orwithMemberClusters(java.util.Collection)
if you want to override the existing values.- Parameters:
memberClusters
- The names of all the cache clusters that are part of this replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withMemberClusters
The names of all the cache clusters that are part of this replication group.
- Parameters:
memberClusters
- The names of all the cache clusters that are part of this replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getNodeGroups
A single element list with information about the nodes in the replication group.
- Returns:
- A single element list with information about the nodes in the replication group.
-
setNodeGroups
A single element list with information about the nodes in the replication group.
- Parameters:
nodeGroups
- A single element list with information about the nodes in the replication group.
-
withNodeGroups
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)
orwithNodeGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
nodeGroups
- A single element list with information about the nodes in the replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withNodeGroups
A single element list with information about the nodes in the replication group.
- Parameters:
nodeGroups
- A single element list with information about the nodes in the replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshottingClusterId
The cache cluster ID that is used as the daily snapshot source for the replication group.
- Parameters:
snapshottingClusterId
- The cache cluster ID that is used as the daily snapshot source for the replication group.
-
getSnapshottingClusterId
The cache cluster ID that is used as the daily snapshot source for the replication group.
- Returns:
- The cache cluster ID that is used as the daily snapshot source for the replication group.
-
withSnapshottingClusterId
The cache cluster ID that is used as the daily snapshot source for the replication group.
- Parameters:
snapshottingClusterId
- The cache cluster ID that is used as the daily snapshot source for the replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAutomaticFailover
Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
- Redis versions earlier than 2.8.6.
- T1 and T2 cache node types.
- Parameters:
automaticFailover
- Indicates the status of Multi-AZ for this replication group.ElastiCache Multi-AZ replication groups are not supported on:
- Redis versions earlier than 2.8.6.
- T1 and T2 cache node types.
- See Also:
-
getAutomaticFailover
Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
- Redis versions earlier than 2.8.6.
- T1 and T2 cache node types.
- Returns:
- Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
- Redis versions earlier than 2.8.6.
- T1 and T2 cache node types.
- See Also:
-
withAutomaticFailover
Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
- Redis versions earlier than 2.8.6.
- T1 and T2 cache node types.
- Parameters:
automaticFailover
- Indicates the status of Multi-AZ for this replication group.ElastiCache Multi-AZ replication groups are not supported on:
- Redis versions earlier than 2.8.6.
- T1 and T2 cache node types.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAutomaticFailover
Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
- Redis versions earlier than 2.8.6.
- T1 and T2 cache node types.
- Parameters:
automaticFailover
- Indicates the status of Multi-AZ for this replication group.ElastiCache Multi-AZ replication groups are not supported on:
- Redis versions earlier than 2.8.6.
- T1 and T2 cache node types.
- See Also:
-
withAutomaticFailover
Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
- Redis versions earlier than 2.8.6.
- T1 and T2 cache node types.
- Parameters:
automaticFailover
- Indicates the status of Multi-AZ for this replication group.ElastiCache Multi-AZ replication groups are not supported on:
- Redis versions earlier than 2.8.6.
- T1 and T2 cache node types.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-