public static class AddAutoScalingConfigurationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AddAutoScalingConfigurationDetails |
build() |
AddAutoScalingConfigurationDetails.Builder |
clusterAdminPassword(String clusterAdminPassword)
Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
|
AddAutoScalingConfigurationDetails.Builder |
copy(AddAutoScalingConfigurationDetails model) |
AddAutoScalingConfigurationDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
AddAutoScalingConfigurationDetails.Builder |
isEnabled(Boolean isEnabled)
Whether the autoscale configuration is enabled.
|
AddAutoScalingConfigurationDetails.Builder |
nodeType(Node.NodeType nodeType)
A node type that is managed by an autoscale configuration.
|
AddAutoScalingConfigurationDetails.Builder |
policy(AutoScalePolicy policy) |
AddAutoScalingConfigurationDetails.Builder |
policyDetails(AddAutoScalePolicyDetails policyDetails) |
public AddAutoScalingConfigurationDetails.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 AddAutoScalingConfigurationDetails.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 AddAutoScalingConfigurationDetails.Builder isEnabled(Boolean isEnabled)
Whether the autoscale configuration is enabled.
isEnabled
- the value to setpublic AddAutoScalingConfigurationDetails.Builder clusterAdminPassword(String clusterAdminPassword)
Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
clusterAdminPassword
- the value to setpublic AddAutoScalingConfigurationDetails.Builder policy(AutoScalePolicy policy)
public AddAutoScalingConfigurationDetails.Builder policyDetails(AddAutoScalePolicyDetails policyDetails)
public AddAutoScalingConfigurationDetails build()
public AddAutoScalingConfigurationDetails.Builder copy(AddAutoScalingConfigurationDetails model)
Copyright © 2016–2024. All rights reserved.