public class CreateDeployGroupRequest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Long[] |
getAffinity()
Get Affinity policy of placement group.
|
String |
getDeployGroupName()
Get Name of a placement group, which can contain up to 60 characters.
|
String |
getDescription()
Get Description of a placement group, which can contain up to 200 characters.
|
String[] |
getDevClass()
Get Model attribute of placement group.
|
Long |
getLimitNum()
Get Upper limit of instances on one physical machine as defined in affinity policy 1 of placement group.
|
void |
setAffinity(Long[] Affinity)
Set Affinity policy of placement group.
|
void |
setDeployGroupName(String DeployGroupName)
Set Name of a placement group, which can contain up to 60 characters.
|
void |
setDescription(String Description)
Set Description of a placement group, which can contain up to 200 characters.
|
void |
setDevClass(String[] DevClass)
Set Model attribute of placement group.
|
void |
setLimitNum(Long LimitNum)
Set Upper limit of instances on one physical machine as defined in affinity policy 1 of placement group.
|
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 CreateDeployGroupRequest()
public CreateDeployGroupRequest(CreateDeployGroupRequest source)
public String getDeployGroupName()
public void setDeployGroupName(String DeployGroupName)
DeployGroupName
- Name of a placement group, which can contain up to 60 characters.public String getDescription()
public void setDescription(String Description)
Description
- Description of a placement group, which can contain up to 200 characters.public Long[] getAffinity()
public void setAffinity(Long[] Affinity)
Affinity
- Affinity policy of placement group. Currently, the value of this parameter can only be 1. Policy 1 indicates the upper limit of instances on one physical machine.public Long getLimitNum()
public void setLimitNum(Long LimitNum)
LimitNum
- Upper limit of instances on one physical machine as defined in affinity policy 1 of placement group.public String[] getDevClass()
public void setDevClass(String[] DevClass)
DevClass
- Model attribute of placement group. Valid values: SH12+SH02, TS85.Copyright © 2021. All rights reserved.