Interface Node.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Node.Builder,,Node> SdkBuilder<Node.Builder,,Node> SdkPojo
- Enclosing class:
Node
@Mutable
@NotThreadSafe
public static interface Node.Builder
extends SdkPojo, CopyableBuilder<Node.Builder,Node>
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) The Availability Zone in which the node residescreateTime(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.The hostname for connecting to this node.The node identifier.The status of the service update on the nodeMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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:
-