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 Details

    • 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 the Endpoint.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).

      Parameters:
      endpoint - a consumer that will call methods on Endpoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: