Interface Node.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Node.Builder,Node>,SdkBuilder<Node.Builder,Node>,SdkPojo
- Enclosing class:
- Node
public static interface Node.Builder extends SdkPojo, CopyableBuilder<Node.Builder,Node>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Node.BuilderavailabilityZone(String availabilityZone)The Availability Zone in which the node residesNode.BuildercreateTime(Instant createTime)The date and time when the node was created.default Node.Builderendpoint(Consumer<Endpoint.Builder> endpoint)The hostname for connecting to this node.Node.Builderendpoint(Endpoint endpoint)The hostname for connecting to this node.Node.Buildername(String name)The node identifier.Node.Builderstatus(String status)The status of the service update on the node-
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
-
name
Node.Builder name(String name)
The node identifier. A node name is a numeric identifier (0001, 0002, etc.). The combination of cluster name, shard name and node name uniquely identifies every node used in a customer's Amazon account.
- Parameters:
name- The node identifier. A node name is a numeric identifier (0001, 0002, etc.). The combination of cluster name, shard name and node name uniquely identifies every node used in a customer's Amazon account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Node.Builder status(String status)
The status of the service update on the node
- Parameters:
status- The status of the service update on the node- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
Node.Builder availabilityZone(String availabilityZone)
The Availability Zone in which the node resides
- Parameters:
availabilityZone- The Availability Zone in which the node resides- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
Node.Builder createTime(Instant createTime)
The date and time when the node was created.
- Parameters:
createTime- The date and time when the node was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
Node.Builder endpoint(Endpoint endpoint)
The hostname for connecting to this node.
- Parameters:
endpoint- The hostname for connecting to this node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
default Node.Builder endpoint(Consumer<Endpoint.Builder> endpoint)
The hostname for connecting to this node.
This is a convenience method that creates an instance of theEndpoint.Builderavoiding the need to create one manually viaEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpoint(Endpoint).- Parameters:
endpoint- 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:
endpoint(Endpoint)
-
-