@Generated(value="software.amazon.awssdk:codegen") public final class NodeGroupMember extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NodeGroupMember.Builder,NodeGroupMember>
Represents a single node within a node group (shard).
| Modifier and Type | Class and Description |
|---|---|
static interface |
NodeGroupMember.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NodeGroupMember.Builder |
builder() |
String |
cacheClusterId()
The ID of the cluster to which the node belongs.
|
String |
cacheNodeId()
The ID of the node within its cluster.
|
String |
currentRole()
The role that is currently assigned to the node -
primary or replica. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
preferredAvailabilityZone()
The name of the Availability Zone in which the node is located.
|
String |
preferredOutpostArn()
The outpost ARN of the node group member.
|
Endpoint |
readEndpoint()
The information required for client programs to connect to a node for read operations.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NodeGroupMember.Builder> |
serializableBuilderClass() |
NodeGroupMember.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String cacheClusterId()
The ID of the cluster to which the node belongs.
public final String cacheNodeId()
The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).
public final Endpoint readEndpoint()
The information required for client programs to connect to a node for read operations. The read endpoint is only applicable on Redis (cluster mode disabled) clusters.
public final String preferredAvailabilityZone()
The name of the Availability Zone in which the node is located.
public final String preferredOutpostArn()
The outpost ARN of the node group member.
public final String currentRole()
The role that is currently assigned to the node - primary or replica. This member is
only applicable for Redis (cluster mode disabled) replication groups.
primary or replica. This
member is only applicable for Redis (cluster mode disabled) replication groups.public NodeGroupMember.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NodeGroupMember.Builder,NodeGroupMember>public static NodeGroupMember.Builder builder()
public static Class<? extends NodeGroupMember.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.