public static interface ClusterSummary.Builder extends SdkPojo, CopyableBuilder<ClusterSummary.Builder,ClusterSummary>
Modifier and Type | Method and Description |
---|---|
ClusterSummary.Builder |
clusterArn(String clusterArn)
The Amazon Resource Name of the cluster.
|
ClusterSummary.Builder |
id(String id)
The unique identifier for the cluster.
|
ClusterSummary.Builder |
name(String name)
The name of the cluster.
|
ClusterSummary.Builder |
normalizedInstanceHours(Integer normalizedInstanceHours)
An approximation of the cost of the cluster, represented in m1.small/hours.
|
ClusterSummary.Builder |
outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
|
ClusterSummary.Builder |
status(ClusterStatus status)
The details about the current status of the cluster.
|
default ClusterSummary.Builder |
status(Consumer<ClusterStatus.Builder> status)
The details about the current status of the cluster.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ClusterSummary.Builder id(String id)
The unique identifier for the cluster.
id
- The unique identifier for the cluster.ClusterSummary.Builder name(String name)
The name of the cluster.
name
- The name of the cluster.ClusterSummary.Builder status(ClusterStatus status)
The details about the current status of the cluster.
status
- The details about the current status of the cluster.default ClusterSummary.Builder status(Consumer<ClusterStatus.Builder> status)
The details about the current status of the cluster.
This is a convenience method that creates an instance of theClusterStatus.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)
.status
- a consumer that will call methods on ClusterStatus.Builder
status(ClusterStatus)
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 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.
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 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.ClusterSummary.Builder clusterArn(String clusterArn)
The Amazon Resource Name of the cluster.
clusterArn
- The Amazon Resource Name of the cluster.ClusterSummary.Builder outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
outpostArn
- The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.Copyright © 2022. All rights reserved.