public static interface Node.Builder extends CopyableBuilder<Node.Builder,Node>
Modifier and Type | Method and Description |
---|---|
Node.Builder |
availabilityZone(String availabilityZone)
The Availability Zone (AZ) in which the node has been deployed.
|
default Node.Builder |
endpoint(Consumer<Endpoint.Builder> endpoint)
The endpoint for the node, consisting of a DNS name and a port number.
|
Node.Builder |
endpoint(Endpoint endpoint)
The endpoint for the node, consisting of a DNS name and a port number.
|
Node.Builder |
nodeCreateTime(Instant nodeCreateTime)
The date and time (in UNIX epoch format) when the node was launched.
|
Node.Builder |
nodeId(String nodeId)
A system-generated identifier for the node.
|
Node.Builder |
nodeStatus(String nodeStatus)
The current status of the node.
|
Node.Builder |
parameterGroupStatus(String parameterGroupStatus)
The status of the parameter group associated with this node.
|
copy
apply, build
Node.Builder nodeId(String nodeId)
A system-generated identifier for the node.
nodeId
- A system-generated identifier for the node.Node.Builder endpoint(Endpoint endpoint)
The endpoint for the node, consisting of a DNS name and a port number. Client applications can connect directly to a node endpoint, if desired (as an alternative to allowing DAX client software to intelligently route requests and responses to nodes in the DAX cluster.
endpoint
- The endpoint for the node, consisting of a DNS name and a port number. Client applications can connect
directly to a node endpoint, if desired (as an alternative to allowing DAX client software to
intelligently route requests and responses to nodes in the DAX cluster.default Node.Builder endpoint(Consumer<Endpoint.Builder> endpoint)
The endpoint for the node, consisting of a DNS name and a port number. Client applications can connect directly to a node endpoint, if desired (as an alternative to allowing DAX client software to intelligently route requests and responses to nodes in the DAX cluster.
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 endpoint(Endpoint)
.endpoint
- a consumer that will call methods on Endpoint.Builder
endpoint(Endpoint)
Node.Builder nodeCreateTime(Instant nodeCreateTime)
The date and time (in UNIX epoch format) when the node was launched.
nodeCreateTime
- The date and time (in UNIX epoch format) when the node was launched.Node.Builder availabilityZone(String availabilityZone)
The Availability Zone (AZ) in which the node has been deployed.
availabilityZone
- The Availability Zone (AZ) in which the node has been deployed.Node.Builder nodeStatus(String nodeStatus)
The current status of the node. For example: available
.
nodeStatus
- The current status of the node. For example: available
.Node.Builder parameterGroupStatus(String parameterGroupStatus)
The status of the parameter group associated with this node. For example, in-sync
.
parameterGroupStatus
- The status of the parameter group associated with this node. For example, in-sync
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.