@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)  | 
<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. 
 | 
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()
Take this object and create a builder that contains all of the current property values of this object. 
 | 
String | 
toString()  | 
copypublic String cacheClusterId()
The ID of the cluster to which the node belongs.
public String cacheNodeId()
The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).
public 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 String preferredAvailabilityZone()
The name of the Availability Zone in which the node is located.
public 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<NodeGroupMember.Builder,NodeGroupMember>public static NodeGroupMember.Builder builder()
public static Class<? extends NodeGroupMember.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.