com.amazonaws.services.elasticache.model
Class ReplicationGroup

java.lang.Object
  extended by com.amazonaws.services.elasticache.model.ReplicationGroup
All Implemented Interfaces:
Serializable

public class ReplicationGroup
extends Object
implements Serializable

Contains all of the attributes of a specific replication group.

See Also:
Serialized Form

Constructor Summary
ReplicationGroup()
           
 
Method Summary
 boolean equals(Object obj)
           
 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 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 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplicationGroup

public ReplicationGroup()
Method Detail

getReplicationGroupId

public String getReplicationGroupId()
The identifier for the replication group.

Returns:
The identifier for the replication group.

setReplicationGroupId

public void setReplicationGroupId(String replicationGroupId)
The identifier for the replication group.

Parameters:
replicationGroupId - The identifier for the replication group.

withReplicationGroupId

public ReplicationGroup withReplicationGroupId(String replicationGroupId)
The identifier for the replication group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
replicationGroupId - The identifier for the replication group.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
The description of the replication group.

Returns:
The description of the replication group.

setDescription

public void setDescription(String description)
The description of the replication group.

Parameters:
description - The description of the replication group.

withDescription

public ReplicationGroup withDescription(String description)
The description of the replication group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - The description of the replication group.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public String getStatus()
The current state of this replication group - creating, available, etc.

Returns:
The current state of this replication group - creating, available, etc.

setStatus

public void setStatus(String status)
The current state of this replication group - creating, available, etc.

Parameters:
status - The current state of this replication group - creating, available, etc.

withStatus

public ReplicationGroup withStatus(String status)
The current state of this replication group - creating, available, etc.

Returns a reference to this object so that method calls can be chained together.

Parameters:
status - The current state of this replication group - creating, available, etc.
Returns:
A reference to this updated object so that method calls can be chained together.

getPendingModifiedValues

public ReplicationGroupPendingModifiedValues 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.

setPendingModifiedValues

public void setPendingModifiedValues(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.

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
pendingModifiedValues - A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
Returns:
A reference to this updated object so that method calls can be chained together.

getMemberClusters

public List<String> 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

public void setMemberClusters(Collection<String> memberClusters)
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

public ReplicationGroup withMemberClusters(String... memberClusters)
The names of all the cache clusters that are part of this replication group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
memberClusters - The names of all the cache clusters that are part of this replication group.
Returns:
A reference to this updated object so that method calls can be chained together.

withMemberClusters

public ReplicationGroup withMemberClusters(Collection<String> memberClusters)
The names of all the cache clusters that are part of this replication group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
memberClusters - The names of all the cache clusters that are part of this replication group.
Returns:
A reference to this updated object so that method calls can be chained together.

getNodeGroups

public List<NodeGroup> 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

public void setNodeGroups(Collection<NodeGroup> nodeGroups)
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

public ReplicationGroup withNodeGroups(NodeGroup... nodeGroups)
A single element list with information about the nodes in the replication group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nodeGroups - A single element list with information about the nodes in the replication group.
Returns:
A reference to this updated object so that method calls can be chained together.

withNodeGroups

public ReplicationGroup withNodeGroups(Collection<NodeGroup> nodeGroups)
A single element list with information about the nodes in the replication group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nodeGroups - A single element list with information about the nodes in the replication group.
Returns:
A reference to this updated object so that method calls can be chained together.

getSnapshottingClusterId

public String 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.

setSnapshottingClusterId

public void setSnapshottingClusterId(String snapshottingClusterId)
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.

withSnapshottingClusterId

public ReplicationGroup withSnapshottingClusterId(String snapshottingClusterId)
The cache cluster ID that is used as the daily snapshot source for the replication group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
snapshottingClusterId - The cache cluster ID that is used as the daily snapshot source for the replication group.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.