public class UpgradeInstanceRequest extends AbstractModel
Constructor and Description |
---|
UpgradeInstanceRequest() |
UpgradeInstanceRequest(UpgradeInstanceRequest 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 |
---|---|
Long |
getBasicSecurityType()
Get Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) 1: disabled 2: enabled
|
Boolean |
getCheckOnly()
Get Whether to check for upgrade only.
|
Boolean |
getCosBackup()
Get Whether to back up the cluster before version upgrade (no backup by default)
|
String |
getEsVersion()
Get Target ES version.
|
String |
getInstanceId()
Get Instance ID
|
String |
getLicenseType()
Get Target X-Pack edition: OSS: Open-source Edition basic: Basic Edition Currently only used for v5.6.4 to v6.x upgrade.
|
Boolean |
getSkipCheckForceRestart()
Get Whether to skip the check and perform a force restart in the rolling mode.
|
String |
getUpgradeMode()
Get Upgrade mode.
|
void |
setBasicSecurityType(Long BasicSecurityType)
Set Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) 1: disabled 2: enabled
|
void |
setCheckOnly(Boolean CheckOnly)
Set Whether to check for upgrade only.
|
void |
setCosBackup(Boolean CosBackup)
Set Whether to back up the cluster before version upgrade (no backup by default)
|
void |
setEsVersion(String EsVersion)
Set Target ES version.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setLicenseType(String LicenseType)
Set Target X-Pack edition: OSS: Open-source Edition basic: Basic Edition Currently only used for v5.6.4 to v6.x upgrade.
|
void |
setSkipCheckForceRestart(Boolean SkipCheckForceRestart)
Set Whether to skip the check and perform a force restart in the rolling mode.
|
void |
setUpgradeMode(String UpgradeMode)
Set Upgrade mode.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public UpgradeInstanceRequest()
public UpgradeInstanceRequest(UpgradeInstanceRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getEsVersion()
public void setEsVersion(String EsVersion)
EsVersion
- Target ES version. Valid values: 6.4.3, 6.8.2, 7.5.1public Boolean getCheckOnly()
public void setCheckOnly(Boolean CheckOnly)
CheckOnly
- Whether to check for upgrade only. Default value: falsepublic String getLicenseType()
public void setLicenseType(String LicenseType)
LicenseType
- Target X-Pack edition: public Long getBasicSecurityType()
public void setBasicSecurityType(Long BasicSecurityType)
BasicSecurityType
- Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) public String getUpgradeMode()
public void setUpgradeMode(String UpgradeMode)
UpgradeMode
- Upgrade mode. public Boolean getCosBackup()
public void setCosBackup(Boolean CosBackup)
CosBackup
- Whether to back up the cluster before version upgrade (no backup by default)public Boolean getSkipCheckForceRestart()
public void setSkipCheckForceRestart(Boolean SkipCheckForceRestart)
SkipCheckForceRestart
- Whether to skip the check and perform a force restart in the rolling mode. Default value: `false`.Copyright © 2023. All rights reserved.