public static class CreateNodeReplaceConfigurationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateNodeReplaceConfigurationDetails |
build() |
CreateNodeReplaceConfigurationDetails.Builder |
clusterAdminPassword(String clusterAdminPassword)
Base-64 encoded password for the cluster admin user.
|
CreateNodeReplaceConfigurationDetails.Builder |
copy(CreateNodeReplaceConfigurationDetails model) |
CreateNodeReplaceConfigurationDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
CreateNodeReplaceConfigurationDetails.Builder |
durationInMinutes(Integer durationInMinutes)
This value is the minimum period of time to wait before triggering node replacement.
|
CreateNodeReplaceConfigurationDetails.Builder |
levelTypeDetails(LevelTypeDetails levelTypeDetails) |
CreateNodeReplaceConfigurationDetails.Builder |
metricType(NodeReplaceConfiguration.MetricType metricType)
Type of compute instance health metric to use for node replacement
|
public CreateNodeReplaceConfigurationDetails.Builder levelTypeDetails(LevelTypeDetails levelTypeDetails)
public CreateNodeReplaceConfigurationDetails.Builder displayName(String displayName)
A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
displayName
- the value to setpublic CreateNodeReplaceConfigurationDetails.Builder clusterAdminPassword(String clusterAdminPassword)
Base-64 encoded password for the cluster admin user.
clusterAdminPassword
- the value to setpublic CreateNodeReplaceConfigurationDetails.Builder metricType(NodeReplaceConfiguration.MetricType metricType)
Type of compute instance health metric to use for node replacement
metricType
- the value to setpublic CreateNodeReplaceConfigurationDetails.Builder durationInMinutes(Integer durationInMinutes)
This value is the minimum period of time to wait before triggering node replacement. The value is in minutes.
durationInMinutes
- the value to setpublic CreateNodeReplaceConfigurationDetails build()
public CreateNodeReplaceConfigurationDetails.Builder copy(CreateNodeReplaceConfigurationDetails model)
Copyright © 2016–2024. All rights reserved.