public class StartCpuExpandRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
StartCpuExpandRequest() |
StartCpuExpandRequest(StartCpuExpandRequest 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 |
---|---|
AutoStrategy |
getAutoStrategy()
Get 自动扩容策略。Type 为 auto 时必传。
|
Long |
getExpandCpu()
Get 手动扩容时,扩容的CPU核心数。Type 为 manual 时必传。
|
String |
getInstanceId()
Get 实例 ID 。
|
String |
getType()
Get 扩容类型。可选值:auto:代表进行自动扩容
manual:代表进行手动扩容
|
void |
setAutoStrategy(AutoStrategy AutoStrategy)
Set 自动扩容策略。Type 为 auto 时必传。
|
void |
setExpandCpu(Long ExpandCpu)
Set 手动扩容时,扩容的CPU核心数。Type 为 manual 时必传。
|
void |
setInstanceId(String InstanceId)
Set 实例 ID 。
|
void |
setType(String Type)
Set 扩容类型。可选值:auto:代表进行自动扩容
manual:代表进行手动扩容
|
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 StartCpuExpandRequest()
public StartCpuExpandRequest(StartCpuExpandRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 实例 ID 。public String getType()
public void setType(String Type)
Type
- 扩容类型。可选值:auto:代表进行自动扩容
manual:代表进行手动扩容public Long getExpandCpu()
public void setExpandCpu(Long ExpandCpu)
ExpandCpu
- 手动扩容时,扩容的CPU核心数。Type 为 manual 时必传。public AutoStrategy getAutoStrategy()
public void setAutoStrategy(AutoStrategy AutoStrategy)
AutoStrategy
- 自动扩容策略。Type 为 auto 时必传。Copyright © 2024. All rights reserved.