public static class NodeReplaceConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NodeReplaceConfiguration.Builder |
bdsInstanceId(String bdsInstanceId)
The OCID of the bdsInstance which is the parent resource id.
|
NodeReplaceConfiguration |
build() |
NodeReplaceConfiguration.Builder |
copy(NodeReplaceConfiguration model) |
NodeReplaceConfiguration.Builder |
displayName(String displayName)
A user-friendly name.
|
NodeReplaceConfiguration.Builder |
durationInMinutes(Integer durationInMinutes)
This value is the minimum period of time to wait for metric emission before triggering
node replacement.
|
NodeReplaceConfiguration.Builder |
id(String id)
The unique identifier for the NodeReplaceConfiguration.
|
NodeReplaceConfiguration.Builder |
levelTypeDetails(LevelTypeDetails levelTypeDetails) |
NodeReplaceConfiguration.Builder |
lifecycleState(NodeReplaceConfiguration.LifecycleState lifecycleState)
The state of the NodeReplaceConfiguration.
|
NodeReplaceConfiguration.Builder |
metricType(NodeReplaceConfiguration.MetricType metricType)
Type of compute instance health metric to use for node replacement
|
NodeReplaceConfiguration.Builder |
timeCreated(Date timeCreated)
The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted
datetime string.
|
NodeReplaceConfiguration.Builder |
timeUpdated(Date timeUpdated)
The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted
datetime string.
|
public NodeReplaceConfiguration.Builder id(String id)
The unique identifier for the NodeReplaceConfiguration.
id
- the value to setpublic NodeReplaceConfiguration.Builder bdsInstanceId(String bdsInstanceId)
The OCID of the bdsInstance which is the parent resource id.
bdsInstanceId
- the value to setpublic NodeReplaceConfiguration.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 NodeReplaceConfiguration.Builder levelTypeDetails(LevelTypeDetails levelTypeDetails)
public NodeReplaceConfiguration.Builder lifecycleState(NodeReplaceConfiguration.LifecycleState lifecycleState)
The state of the NodeReplaceConfiguration.
lifecycleState
- the value to setpublic NodeReplaceConfiguration.Builder timeCreated(Date timeCreated)
The time the NodeReplaceConfiguration was created, shown as an RFC 3339 formatted datetime string.
timeCreated
- the value to setpublic NodeReplaceConfiguration.Builder timeUpdated(Date timeUpdated)
The time the NodeReplaceConfiguration was updated, shown as an RFC 3339 formatted datetime string.
timeUpdated
- the value to setpublic NodeReplaceConfiguration.Builder metricType(NodeReplaceConfiguration.MetricType metricType)
Type of compute instance health metric to use for node replacement
metricType
- the value to setpublic NodeReplaceConfiguration.Builder durationInMinutes(Integer durationInMinutes)
This value is the minimum period of time to wait for metric emission before triggering node replacement. The value is in minutes.
durationInMinutes
- the value to setpublic NodeReplaceConfiguration build()
public NodeReplaceConfiguration.Builder copy(NodeReplaceConfiguration model)
Copyright © 2016–2024. All rights reserved.