Interface NodeGroupMember.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<NodeGroupMember.Builder,NodeGroupMember>
,SdkBuilder<NodeGroupMember.Builder,NodeGroupMember>
,SdkPojo
- Enclosing class:
- NodeGroupMember
public static interface NodeGroupMember.Builder extends SdkPojo, CopyableBuilder<NodeGroupMember.Builder,NodeGroupMember>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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
orreplica
.NodeGroupMember.Builder
preferredAvailabilityZone(String preferredAvailabilityZone)
The name of the Availability Zone in which the node is located.NodeGroupMember.Builder
preferredOutpostArn(String preferredOutpostArn)
The outpost ARN of the node group member.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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
cacheClusterId
NodeGroupMember.Builder cacheClusterId(String cacheClusterId)
The ID of the cluster to which the node belongs.
- Parameters:
cacheClusterId
- The ID of the cluster to which the node belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheNodeId
NodeGroupMember.Builder cacheNodeId(String cacheNodeId)
The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).
- Parameters:
cacheNodeId
- The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readEndpoint
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readEndpoint
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 method that creates an instance of theEndpoint.Builder
avoiding the need to create one manually viaEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreadEndpoint(Endpoint)
.- Parameters:
readEndpoint
- a consumer that will call methods onEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
readEndpoint(Endpoint)
-
preferredAvailabilityZone
NodeGroupMember.Builder preferredAvailabilityZone(String preferredAvailabilityZone)
The name of the Availability Zone in which the node is located.
- Parameters:
preferredAvailabilityZone
- The name of the Availability Zone in which the node is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredOutpostArn
NodeGroupMember.Builder preferredOutpostArn(String preferredOutpostArn)
The outpost ARN of the node group member.
- Parameters:
preferredOutpostArn
- The outpost ARN of the node group member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentRole
NodeGroupMember.Builder currentRole(String currentRole)
The role that is currently assigned to the node -
primary
orreplica
. This member is only applicable for Redis (cluster mode disabled) replication groups.- Parameters:
currentRole
- The role that is currently assigned to the node -primary
orreplica
. This member is only applicable for Redis (cluster mode disabled) replication groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-