public static class AutoScalingConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
public AutoScalingConfiguration.Builder id(String id)
The unique identifier for the autoscale configuration.
id
- the value to setpublic AutoScalingConfiguration.Builder displayName(String displayName)
A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
displayName
- the value to setpublic AutoScalingConfiguration.Builder nodeType(Node.NodeType nodeType)
A node type that is managed by an autoscale configuration. The only supported types are WORKER and COMPUTE_ONLY_WORKER.
nodeType
- the value to setpublic AutoScalingConfiguration.Builder lifecycleState(AutoScalingConfiguration.LifecycleState lifecycleState)
The state of the autoscale configuration.
lifecycleState
- the value to setpublic AutoScalingConfiguration.Builder timeCreated(Date timeCreated)
The time the cluster was created, shown as an RFC 3339 formatted datetime string.
timeCreated
- the value to setpublic AutoScalingConfiguration.Builder timeUpdated(Date timeUpdated)
The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
timeUpdated
- the value to setpublic AutoScalingConfiguration.Builder policy(AutoScalePolicy policy)
public AutoScalingConfiguration.Builder policyDetails(AutoScalePolicyDetails policyDetails)
public AutoScalingConfiguration build()
public AutoScalingConfiguration.Builder copy(AutoScalingConfiguration model)
Copyright © 2016–2024. All rights reserved.