public class UpgradeLicenseRequest extends AbstractModel
| Constructor and Description | 
|---|
UpgradeLicenseRequest()  | 
UpgradeLicenseRequest(UpgradeLicenseRequest 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 | 
getAutoVoucher()
Get Whether to automatically use vouchers 0: No 1: Yes Default value: 0 
 | 
Long | 
getBasicSecurityType()
Get Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) 1: disabled 2: enabled 
 | 
Boolean | 
getForceRestart()
Get Whether to force restart true: yes false: no Default value: false 
 | 
String | 
getInstanceId()
Get Instance ID 
 | 
String | 
getLicenseType()
Get License type oss: Open Source Edition basic: Basic Edition platinum: Platinum Edition Default value: Platinum 
 | 
String[] | 
getVoucherIds()
Get List of voucher IDs (only one voucher can be specified at a time currently) 
 | 
void | 
setAutoVoucher(Long AutoVoucher)
Set Whether to automatically use vouchers 0: No 1: Yes Default value: 0 
 | 
void | 
setBasicSecurityType(Long BasicSecurityType)
Set Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) 1: disabled 2: enabled 
 | 
void | 
setForceRestart(Boolean ForceRestart)
Set Whether to force restart true: yes false: no Default value: false 
 | 
void | 
setInstanceId(String InstanceId)
Set Instance ID 
 | 
void | 
setLicenseType(String LicenseType)
Set License type oss: Open Source Edition basic: Basic Edition platinum: Platinum Edition Default value: Platinum 
 | 
void | 
setVoucherIds(String[] VoucherIds)
Set List of voucher IDs (only one voucher can be specified at a time currently) 
 | 
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, toJsonStringpublic UpgradeLicenseRequest()
public UpgradeLicenseRequest(UpgradeLicenseRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Instance IDpublic String getLicenseType()
public void setLicenseType(String LicenseType)
LicenseType - License type public Long getAutoVoucher()
public void setAutoVoucher(Long AutoVoucher)
AutoVoucher - Whether to automatically use vouchers public String[] getVoucherIds()
public void setVoucherIds(String[] VoucherIds)
VoucherIds - List of voucher IDs (only one voucher can be specified at a time currently)public Long getBasicSecurityType()
public void setBasicSecurityType(Long BasicSecurityType)
BasicSecurityType - Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) public Boolean getForceRestart()
public void setForceRestart(Boolean ForceRestart)
ForceRestart - Whether to force restart Copyright © 2021. All rights reserved.