@Generated(value="software.amazon.awssdk:codegen") public class NodeGroupMember extends Object implements 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()
Returns the value of the ReadEndpoint property for this object.
|
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() |
copy
public 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()
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
.
primary
or replica
.public NodeGroupMember.Builder toBuilder()
ToCopyableBuilder
toBuilder
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.