public class NodeGroup extends Object implements Serializable, Cloneable
Represents a collection of cache nodes in a replication group.
| Constructor and Description | 
|---|
NodeGroup()  | 
| Modifier and Type | Method and Description | 
|---|---|
NodeGroup | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getNodeGroupId()
 The identifier for the node group. 
 | 
List<NodeGroupMember> | 
getNodeGroupMembers()
 A list containing information about individual nodes within the node
 group. 
 | 
Endpoint | 
getPrimaryEndpoint()  | 
String | 
getStatus()
 The current state of this replication group - creating,
 available, etc. 
 | 
int | 
hashCode()  | 
void | 
setNodeGroupId(String nodeGroupId)
 The identifier for the node group. 
 | 
void | 
setNodeGroupMembers(Collection<NodeGroupMember> nodeGroupMembers)
 A list containing information about individual nodes within the node
 group. 
 | 
void | 
setPrimaryEndpoint(Endpoint primaryEndpoint)  | 
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. 
 | 
NodeGroup | 
withNodeGroupId(String nodeGroupId)
 The identifier for the node group. 
 | 
NodeGroup | 
withNodeGroupMembers(Collection<NodeGroupMember> nodeGroupMembers)
 A list containing information about individual nodes within the node
 group. 
 | 
NodeGroup | 
withNodeGroupMembers(NodeGroupMember... nodeGroupMembers)
 A list containing information about individual nodes within the node
 group. 
 | 
NodeGroup | 
withPrimaryEndpoint(Endpoint primaryEndpoint)  | 
NodeGroup | 
withStatus(String status)
 The current state of this replication group - creating,
 available, etc. 
 | 
public void setNodeGroupId(String nodeGroupId)
The identifier for the node group. A replication group contains only one node group; therefore, the node group ID is 0001.
nodeGroupId - The identifier for the node group. A replication group contains
        only one node group; therefore, the node group ID is 0001.public String getNodeGroupId()
The identifier for the node group. A replication group contains only one node group; therefore, the node group ID is 0001.
public NodeGroup withNodeGroupId(String nodeGroupId)
The identifier for the node group. A replication group contains only one node group; therefore, the node group ID is 0001.
nodeGroupId - The identifier for the node group. A replication group contains
        only one node group; therefore, the node group ID is 0001.public void setStatus(String status)
The current state of this replication group - creating, available, etc.
status - The current state of this replication group - creating,
        available, etc.public String getStatus()
The current state of this replication group - creating, available, etc.
public NodeGroup withStatus(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 setPrimaryEndpoint(Endpoint primaryEndpoint)
primaryEndpoint - public Endpoint getPrimaryEndpoint()
public NodeGroup withPrimaryEndpoint(Endpoint primaryEndpoint)
primaryEndpoint - public List<NodeGroupMember> getNodeGroupMembers()
A list containing information about individual nodes within the node group.
public void setNodeGroupMembers(Collection<NodeGroupMember> nodeGroupMembers)
A list containing information about individual nodes within the node group.
nodeGroupMembers - A list containing information about individual nodes within the
        node group.public NodeGroup withNodeGroupMembers(NodeGroupMember... nodeGroupMembers)
A list containing information about individual nodes within the node group.
 NOTE: This method appends the values to the existing list (if
 any). Use setNodeGroupMembers(java.util.Collection) or
 withNodeGroupMembers(java.util.Collection) if you want to
 override the existing values.
 
nodeGroupMembers - A list containing information about individual nodes within the
        node group.public NodeGroup withNodeGroupMembers(Collection<NodeGroupMember> nodeGroupMembers)
A list containing information about individual nodes within the node group.
nodeGroupMembers - A list containing information about individual nodes within the
        node group.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.