public class UpgradeLicenseRequest extends AbstractModel
header, skipSign| 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 是否自动使用代金券0:不自动使用1:自动使用默认值0 | 
| Long | getBasicSecurityType()Get 6.8(及以上版本)基础版是否开启xpack security认证1:不开启2:开启不传参时会默认维持原状,传参时需注意只能由不开启变为开启,无法由开启变为不开启 | 
| Boolean | getForceRestart()Get 是否强制重启true强制重启false不强制重启 默认值false | 
| String | getInstanceId()Get 实例ID | 
| String | getLicenseType()Get License类型oss:开源版basic:基础版platinum:白金版默认值platinum | 
| String[] | getVoucherIds()Get 代金券ID列表(目前仅支持指定一张代金券) | 
| void | setAutoVoucher(Long AutoVoucher)Set 是否自动使用代金券0:不自动使用1:自动使用默认值0 | 
| void | setBasicSecurityType(Long BasicSecurityType)Set 6.8(及以上版本)基础版是否开启xpack security认证1:不开启2:开启不传参时会默认维持原状,传参时需注意只能由不开启变为开启,无法由开启变为不开启 | 
| void | setForceRestart(Boolean ForceRestart)Set 是否强制重启true强制重启false不强制重启 默认值false | 
| void | setInstanceId(String InstanceId)Set 实例ID | 
| void | setLicenseType(String LicenseType)Set License类型oss:开源版basic:基础版platinum:白金版默认值platinum | 
| void | setVoucherIds(String[] VoucherIds)Set 代金券ID列表(目前仅支持指定一张代金券) | 
| 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, toJsonStringpublic UpgradeLicenseRequest()
public UpgradeLicenseRequest(UpgradeLicenseRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - 实例IDpublic String getLicenseType()
public void setLicenseType(String LicenseType)
LicenseType - License类型public Long getAutoVoucher()
public void setAutoVoucher(Long AutoVoucher)
AutoVoucher - 是否自动使用代金券public String[] getVoucherIds()
public void setVoucherIds(String[] VoucherIds)
VoucherIds - 代金券ID列表(目前仅支持指定一张代金券)public Long getBasicSecurityType()
public void setBasicSecurityType(Long BasicSecurityType)
BasicSecurityType - 6.8(及以上版本)基础版是否开启xpack security认证public Boolean getForceRestart()
public void setForceRestart(Boolean ForceRestart)
ForceRestart - 是否强制重启Copyright © 2025. All rights reserved.