public static interface NodeGroupMember.Builder extends SdkPojo, 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)
The information required for client programs to connect to a node for read operations.
|
NodeGroupMember.Builder |
readEndpoint(Endpoint readEndpoint)
The information required for client programs to connect to a node for read operations.
|
copy
applyMutation, build
NodeGroupMember.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)
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.
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.default NodeGroupMember.Builder readEndpoint(Consumer<Endpoint.Builder> 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.
This is a convenience that creates an instance of theEndpoint.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.Builder
readEndpoint(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
. This member
is only applicable for Redis (cluster mode disabled) replication groups.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.