|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticache.model.NodeGroup
public class NodeGroup
Represents a collection of cache nodes in a replication group.
Constructor Summary | |
---|---|
NodeGroup()
|
Method Summary | |
---|---|
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()
Represents the information required for client programs to connect to a cache node. |
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)
Represents the information required for client programs to connect to a cache node. |
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)
Represents the information required for client programs to connect to a cache node. |
NodeGroup |
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 |
---|
public NodeGroup()
Method Detail |
---|
public String getNodeGroupId()
public void setNodeGroupId(String nodeGroupId)
nodeGroupId
- 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)
Returns a reference to this object so that method calls can be chained together.
nodeGroupId
- The identifier for the node group. A replication group contains only
one node group; therefore, the node group ID is 0001.
public String getStatus()
public void setStatus(String status)
status
- The current state of this replication group - creating,
available, etc.public NodeGroup 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 Endpoint getPrimaryEndpoint()
public void setPrimaryEndpoint(Endpoint primaryEndpoint)
primaryEndpoint
- Represents the information required for client programs to connect to
a cache node.public NodeGroup withPrimaryEndpoint(Endpoint primaryEndpoint)
Returns a reference to this object so that method calls can be chained together.
primaryEndpoint
- Represents the information required for client programs to connect to
a cache node.
public List<NodeGroupMember> getNodeGroupMembers()
public void setNodeGroupMembers(Collection<NodeGroupMember> nodeGroupMembers)
nodeGroupMembers
- A list containing information about individual nodes within the node
group.public NodeGroup withNodeGroupMembers(NodeGroupMember... nodeGroupMembers)
Returns a reference to this object so that method calls can be chained together.
nodeGroupMembers
- A list containing information about individual nodes within the node
group.
public NodeGroup withNodeGroupMembers(Collection<NodeGroupMember> nodeGroupMembers)
Returns a reference to this object so that method calls can be chained together.
nodeGroupMembers
- A list containing information about individual nodes within the node
group.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |