Interface ClusterSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterSummary.Builder,
,ClusterSummary> SdkBuilder<ClusterSummary.Builder,
,ClusterSummary> SdkPojo
- Enclosing class:
ClusterSummary
-
Method Summary
Modifier and TypeMethodDescriptionclusterArn
(String clusterArn) The Amazon Resource Name of the cluster.The unique identifier for the cluster.The name of the cluster.normalizedInstanceHours
(Integer normalizedInstanceHours) An approximation of the cost of the cluster, represented in m1.small/hours.outpostArn
(String outpostArn) The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.default ClusterSummary.Builder
status
(Consumer<ClusterStatus.Builder> status) The details about the current status of the cluster.status
(ClusterStatus status) The details about the current status of the cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 theClusterStatus.Builder
avoiding the need to create one manually viaClusterStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(ClusterStatus)
.- Parameters:
status
- a consumer that will call methods onClusterStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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.
-