public static interface ClusterSummary.Builder extends CopyableBuilder<ClusterSummary.Builder,ClusterSummary>
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
copy
apply, 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 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.