public static interface NodeGroupMember.Builder extends CopyableBuilder<NodeGroupMember.Builder,NodeGroupMember>
| Modifier and Type | Method and Description |
|---|---|
NodeGroupMember.Builder |
cacheClusterId(String cacheClusterId)
The ID of the cluster to which the node belongs.
|
NodeGroupMember.Builder |
cacheNodeId(String cacheNodeId)
The ID of the node within its cluster.
|
NodeGroupMember.Builder |
currentRole(String currentRole)
The role that is currently assigned to the node -
primary or replica. |
NodeGroupMember.Builder |
preferredAvailabilityZone(String preferredAvailabilityZone)
The name of the Availability Zone in which the node is located.
|
default NodeGroupMember.Builder |
readEndpoint(Consumer<Endpoint.Builder> readEndpoint)
Sets the value of the ReadEndpoint property for this object.
|
NodeGroupMember.Builder |
readEndpoint(Endpoint readEndpoint)
Sets the value of the ReadEndpoint property for this object.
|
copyapply, buildNodeGroupMember.Builder cacheClusterId(String cacheClusterId)
The ID of the cluster to which the node belongs.
cacheClusterId - The ID of the cluster to which the node belongs.NodeGroupMember.Builder cacheNodeId(String cacheNodeId)
The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).
cacheNodeId - The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).NodeGroupMember.Builder readEndpoint(Endpoint readEndpoint)
readEndpoint - The new value for the ReadEndpoint property for this object.default NodeGroupMember.Builder readEndpoint(Consumer<Endpoint.Builder> readEndpoint)
Endpoint.Builder avoiding the need to create
one manually via Endpoint.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to readEndpoint(Endpoint).readEndpoint - a consumer that will call methods on Endpoint.BuilderreadEndpoint(Endpoint)NodeGroupMember.Builder preferredAvailabilityZone(String preferredAvailabilityZone)
The name of the Availability Zone in which the node is located.
preferredAvailabilityZone - The name of the Availability Zone in which the node is located.NodeGroupMember.Builder currentRole(String currentRole)
The role that is currently assigned to the node - primary or replica.
currentRole - The role that is currently assigned to the node - primary or replica.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.