public class MachineUpgradeSettings extends AbstractModel
header, skipSign
Constructor and Description |
---|
MachineUpgradeSettings() |
MachineUpgradeSettings(MachineUpgradeSettings source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getAutoUpgrade()
Get Whether to enable automatic upgrade
Note: This field may return "null", indicating that no valid value can be obtained.
|
String[] |
getComponents()
Get Upgrade item
Note: This field may return "null", indicating that no valid value can be obtained.
|
IntOrString |
getMaxUnavailable()
Get Maximum number of nodes that cannot be upgraded during upgrade
Note: This field may return "null", indicating that no valid value can be obtained.
|
AutoUpgradeOptions |
getUpgradeOptions()
Get Ops window
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setAutoUpgrade(Boolean AutoUpgrade)
Set Whether to enable automatic upgrade
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setComponents(String[] Components)
Set Upgrade item
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setMaxUnavailable(IntOrString MaxUnavailable)
Set Maximum number of nodes that cannot be upgraded during upgrade
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setUpgradeOptions(AutoUpgradeOptions UpgradeOptions)
Set Ops window
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public MachineUpgradeSettings()
public MachineUpgradeSettings(MachineUpgradeSettings source)
public Boolean getAutoUpgrade()
public void setAutoUpgrade(Boolean AutoUpgrade)
AutoUpgrade
- Whether to enable automatic upgrade
Note: This field may return "null", indicating that no valid value can be obtained.public AutoUpgradeOptions getUpgradeOptions()
public void setUpgradeOptions(AutoUpgradeOptions UpgradeOptions)
UpgradeOptions
- Ops window
Note: This field may return "null", indicating that no valid value can be obtained.public String[] getComponents()
public void setComponents(String[] Components)
Components
- Upgrade item
Note: This field may return "null", indicating that no valid value can be obtained.public IntOrString getMaxUnavailable()
public void setMaxUnavailable(IntOrString MaxUnavailable)
MaxUnavailable
- Maximum number of nodes that cannot be upgraded during upgrade
Note: This field may return "null", indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.