|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticache.model.NodeGroupMember
public class NodeGroupMember
Represents a single node within a node group.
Constructor Summary | |
---|---|
NodeGroupMember()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCacheClusterId()
The ID of the cache cluster to which the node belongs. |
String |
getCacheNodeId()
The ID of the node within its cache cluster. |
String |
getCurrentRole()
The role that is currently assigned to the node - primary or replica. |
String |
getPreferredAvailabilityZone()
The name of the Availability Zone in which the node is located. |
Endpoint |
getReadEndpoint()
Represents the information required for client programs to connect to a cache node. |
int |
hashCode()
|
void |
setCacheClusterId(String cacheClusterId)
The ID of the cache cluster to which the node belongs. |
void |
setCacheNodeId(String cacheNodeId)
The ID of the node within its cache cluster. |
void |
setCurrentRole(String currentRole)
The role that is currently assigned to the node - primary or replica. |
void |
setPreferredAvailabilityZone(String preferredAvailabilityZone)
The name of the Availability Zone in which the node is located. |
void |
setReadEndpoint(Endpoint readEndpoint)
Represents the information required for client programs to connect to a cache node. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
NodeGroupMember |
withCacheClusterId(String cacheClusterId)
The ID of the cache cluster to which the node belongs. |
NodeGroupMember |
withCacheNodeId(String cacheNodeId)
The ID of the node within its cache cluster. |
NodeGroupMember |
withCurrentRole(String currentRole)
The role that is currently assigned to the node - primary or replica. |
NodeGroupMember |
withPreferredAvailabilityZone(String preferredAvailabilityZone)
The name of the Availability Zone in which the node is located. |
NodeGroupMember |
withReadEndpoint(Endpoint readEndpoint)
Represents the information required for client programs to connect to a cache node. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodeGroupMember()
Method Detail |
---|
public String getCacheClusterId()
public void setCacheClusterId(String cacheClusterId)
cacheClusterId
- The ID of the cache cluster to which the node belongs.public NodeGroupMember withCacheClusterId(String cacheClusterId)
Returns a reference to this object so that method calls can be chained together.
cacheClusterId
- The ID of the cache cluster to which the node belongs.
public String getCacheNodeId()
public void setCacheNodeId(String cacheNodeId)
cacheNodeId
- The ID of the node within its cache cluster. A node ID is a numeric
identifier (0001, 0002, etc.).public NodeGroupMember withCacheNodeId(String cacheNodeId)
Returns a reference to this object so that method calls can be chained together.
cacheNodeId
- The ID of the node within its cache cluster. A node ID is a numeric
identifier (0001, 0002, etc.).
public Endpoint getReadEndpoint()
public void setReadEndpoint(Endpoint readEndpoint)
readEndpoint
- Represents the information required for client programs to connect to
a cache node.public NodeGroupMember withReadEndpoint(Endpoint readEndpoint)
Returns a reference to this object so that method calls can be chained together.
readEndpoint
- Represents the information required for client programs to connect to
a cache node.
public String getPreferredAvailabilityZone()
public void setPreferredAvailabilityZone(String preferredAvailabilityZone)
preferredAvailabilityZone
- The name of the Availability Zone in which the node is located.public NodeGroupMember withPreferredAvailabilityZone(String preferredAvailabilityZone)
Returns a reference to this object so that method calls can be chained together.
preferredAvailabilityZone
- The name of the Availability Zone in which the node is located.
public String getCurrentRole()
public void setCurrentRole(String currentRole)
currentRole
- The role that is currently assigned to the node - primary or
replica.public NodeGroupMember withCurrentRole(String currentRole)
Returns a reference to this object so that method calls can be chained together.
currentRole
- The role that is currently assigned to the node - primary or
replica.
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 |