ToCopyableBuilder<NodeGroupMember.Builder,NodeGroupMember>
@Generated("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 | Description |
---|---|---|
static interface |
NodeGroupMember.Builder |
Modifier and Type | Method | Description |
---|---|---|
static NodeGroupMember.Builder |
builder() |
|
String |
cacheClusterId() |
The ID of the cache cluster to which the node belongs.
|
String |
cacheNodeId() |
The ID of the node within its cache cluster.
|
String |
currentRole() |
The role that is currently assigned to the node -
primary or replica . |
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
preferredAvailabilityZone() |
The name of the Availability Zone in which the node is located.
|
Endpoint |
readEndpoint() |
|
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() |
public String cacheClusterId()
The ID of the cache cluster to which the node belongs.
public String cacheNodeId()
The ID of the node within its cache 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.