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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.default ClusterSummary.Builder
status(Consumer<ClusterStatus.Builder> status)
The details about the current status of the cluster.ClusterSummary.Builder
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 Detail
-
id
ClusterSummary.Builder id(String 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
ClusterSummary.Builder name(String 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
ClusterSummary.Builder status(ClusterStatus 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
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 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:
status(ClusterStatus)
-
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.
-
-