Class CreateDeployGroupRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdb.v20170320.models.CreateDeployGroupRequest
-
public class CreateDeployGroupRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateDeployGroupRequest()CreateDeployGroupRequest(CreateDeployGroupRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long[]getAffinity()Get 置放群组的亲和性策略,目前仅支持取值为1,策略1表示同台物理机上限制实例的个数。StringgetDeployGroupName()Get 置放群组名称,最长不能超过60个字符。StringgetDescription()Get 置放群组描述,最长不能超过200个字符。String[]getDevClass()Get 置放群组机型属性,可选参数:SH12+SH02、TS85。LonggetLimitNum()Get 置放群组亲和性策略1中同台物理机上实例的限制个数。voidsetAffinity(Long[] Affinity)Set 置放群组的亲和性策略,目前仅支持取值为1,策略1表示同台物理机上限制实例的个数。voidsetDeployGroupName(String DeployGroupName)Set 置放群组名称,最长不能超过60个字符。voidsetDescription(String Description)Set 置放群组描述,最长不能超过200个字符。voidsetDevClass(String[] DevClass)Set 置放群组机型属性,可选参数:SH12+SH02、TS85。voidsetLimitNum(Long LimitNum)Set 置放群组亲和性策略1中同台物理机上实例的限制个数。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateDeployGroupRequest
public CreateDeployGroupRequest()
-
CreateDeployGroupRequest
public CreateDeployGroupRequest(CreateDeployGroupRequest 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.
-
-
Method Detail
-
getDeployGroupName
public String getDeployGroupName()
Get 置放群组名称,最长不能超过60个字符。- Returns:
- DeployGroupName 置放群组名称,最长不能超过60个字符。
-
setDeployGroupName
public void setDeployGroupName(String DeployGroupName)
Set 置放群组名称,最长不能超过60个字符。- Parameters:
DeployGroupName- 置放群组名称,最长不能超过60个字符。
-
getDescription
public String getDescription()
Get 置放群组描述,最长不能超过200个字符。- Returns:
- Description 置放群组描述,最长不能超过200个字符。
-
setDescription
public void setDescription(String Description)
Set 置放群组描述,最长不能超过200个字符。- Parameters:
Description- 置放群组描述,最长不能超过200个字符。
-
getAffinity
public Long[] getAffinity()
Get 置放群组的亲和性策略,目前仅支持取值为1,策略1表示同台物理机上限制实例的个数。- Returns:
- Affinity 置放群组的亲和性策略,目前仅支持取值为1,策略1表示同台物理机上限制实例的个数。
-
setAffinity
public void setAffinity(Long[] Affinity)
Set 置放群组的亲和性策略,目前仅支持取值为1,策略1表示同台物理机上限制实例的个数。- Parameters:
Affinity- 置放群组的亲和性策略,目前仅支持取值为1,策略1表示同台物理机上限制实例的个数。
-
getLimitNum
public Long getLimitNum()
Get 置放群组亲和性策略1中同台物理机上实例的限制个数。- Returns:
- LimitNum 置放群组亲和性策略1中同台物理机上实例的限制个数。
-
setLimitNum
public void setLimitNum(Long LimitNum)
Set 置放群组亲和性策略1中同台物理机上实例的限制个数。- Parameters:
LimitNum- 置放群组亲和性策略1中同台物理机上实例的限制个数。
-
getDevClass
public String[] getDevClass()
Get 置放群组机型属性,可选参数:SH12+SH02、TS85。- Returns:
- DevClass 置放群组机型属性,可选参数:SH12+SH02、TS85。
-
setDevClass
public void setDevClass(String[] DevClass)
Set 置放群组机型属性,可选参数:SH12+SH02、TS85。- Parameters:
DevClass- 置放群组机型属性,可选参数:SH12+SH02、TS85。
-
-