Interface ClusterSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ClusterSummary.Builder,ClusterSummary>, SdkBuilder<ClusterSummary.Builder,ClusterSummary>, SdkPojo
Enclosing class:
ClusterSummary

public static interface ClusterSummary.Builder extends SdkPojo, CopyableBuilder<ClusterSummary.Builder,ClusterSummary>
  • Method Details

    • id

      The unique identifier for the cluster.

      Parameters:
      id - The unique identifier for the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the cluster.

      Parameters:
      name - The name of the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The details about the current status of the cluster.

      Parameters:
      status - The details about the current status of the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The details about the current status of the cluster.

      This is a convenience method that creates an instance of the ClusterStatus.Builder avoiding the need to create one manually via ClusterStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to status(ClusterStatus).

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

      ClusterSummary.Builder normalizedInstanceHours(Integer normalizedInstanceHours)

      An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.

      Parameters:
      normalizedInstanceHours - An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusterArn

      ClusterSummary.Builder clusterArn(String clusterArn)

      The Amazon Resource Name of the cluster.

      Parameters:
      clusterArn - The Amazon Resource Name of the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outpostArn

      ClusterSummary.Builder outpostArn(String outpostArn)

      The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.

      Parameters:
      outpostArn - The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.