Class NodeGroupMember
- All Implemented Interfaces:
Serializable
,Cloneable
Represents a single node within a node group.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of the cache cluster to which the node belongs.The ID of the node within its cache cluster.The role that is currently assigned to the node - primary or replica.The name of the Availability Zone in which the node is located.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) toString()
Returns a string representation of this object; useful for testing and debugging.withCacheClusterId
(String cacheClusterId) The ID of the cache cluster to which the node belongs.withCacheNodeId
(String cacheNodeId) The ID of the node within its cache cluster.withCurrentRole
(String currentRole) The role that is currently assigned to the node - primary or replica.withPreferredAvailabilityZone
(String preferredAvailabilityZone) The name of the Availability Zone in which the node is located.withReadEndpoint
(Endpoint readEndpoint)
-
Constructor Details
-
NodeGroupMember
public NodeGroupMember()
-
-
Method Details
-
setCacheClusterId
The ID of the cache cluster to which the node belongs.
- Parameters:
cacheClusterId
- The ID of the cache cluster to which the node belongs.
-
getCacheClusterId
The ID of the cache cluster to which the node belongs.
- Returns:
- The ID of the cache cluster to which the node belongs.
-
withCacheClusterId
The ID of the cache cluster to which the node belongs.
- Parameters:
cacheClusterId
- The ID of the cache cluster to which the node belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheNodeId
The ID of the node within its cache cluster. A node ID is a numeric identifier (0001, 0002, etc.).
- Parameters:
cacheNodeId
- The ID of the node within its cache cluster. A node ID is a numeric identifier (0001, 0002, etc.).
-
getCacheNodeId
The ID of the node within its cache cluster. A node ID is a numeric identifier (0001, 0002, etc.).
- Returns:
- The ID of the node within its cache cluster. A node ID is a numeric identifier (0001, 0002, etc.).
-
withCacheNodeId
The ID of the node within its cache cluster. A node ID is a numeric identifier (0001, 0002, etc.).
- Parameters:
cacheNodeId
- The ID of the node within its cache cluster. A node ID is a numeric identifier (0001, 0002, etc.).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReadEndpoint
- Parameters:
readEndpoint
-
-
getReadEndpoint
- Returns:
-
withReadEndpoint
- Parameters:
readEndpoint
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPreferredAvailabilityZone
The name of the Availability Zone in which the node is located.
- Parameters:
preferredAvailabilityZone
- The name of the Availability Zone in which the node is located.
-
getPreferredAvailabilityZone
The name of the Availability Zone in which the node is located.
- Returns:
- The name of the Availability Zone in which the node is located.
-
withPreferredAvailabilityZone
The name of the Availability Zone in which the node is located.
- Parameters:
preferredAvailabilityZone
- The name of the Availability Zone in which the node is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCurrentRole
The role that is currently assigned to the node - primary or replica.
- Parameters:
currentRole
- The role that is currently assigned to the node - primary or replica.
-
getCurrentRole
The role that is currently assigned to the node - primary or replica.
- Returns:
- The role that is currently assigned to the node - primary or replica.
-
withCurrentRole
The role that is currently assigned to the node - primary or replica.
- Parameters:
currentRole
- The role that is currently assigned to the node - primary or replica.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-