Class CreateSecurityGroupRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ecm.v20190719.models.CreateSecurityGroupRequest
-
public class CreateSecurityGroupRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateSecurityGroupRequest()
CreateSecurityGroupRequest(CreateSecurityGroupRequest 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 String
getGroupDescription()
Get 安全组备注,最多100个字符。String
getGroupName()
Get 安全组名称,可任意命名,但不得超过60个字符。Tag[]
getTags()
Get 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]void
setGroupDescription(String GroupDescription)
Set 安全组备注,最多100个字符。void
setGroupName(String GroupName)
Set 安全组名称,可任意命名,但不得超过60个字符。void
setTags(Tag[] Tags)
Set 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]void
toMap(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
-
CreateSecurityGroupRequest
public CreateSecurityGroupRequest()
-
CreateSecurityGroupRequest
public CreateSecurityGroupRequest(CreateSecurityGroupRequest 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
-
getGroupName
public String getGroupName()
Get 安全组名称,可任意命名,但不得超过60个字符。- Returns:
- GroupName 安全组名称,可任意命名,但不得超过60个字符。
-
setGroupName
public void setGroupName(String GroupName)
Set 安全组名称,可任意命名,但不得超过60个字符。- Parameters:
GroupName
- 安全组名称,可任意命名,但不得超过60个字符。
-
getGroupDescription
public String getGroupDescription()
Get 安全组备注,最多100个字符。- Returns:
- GroupDescription 安全组备注,最多100个字符。
-
setGroupDescription
public void setGroupDescription(String GroupDescription)
Set 安全组备注,最多100个字符。- Parameters:
GroupDescription
- 安全组备注,最多100个字符。
-
getTags
public Tag[] getTags()
Get 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]- Returns:
- Tags 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
-
setTags
public void setTags(Tag[] Tags)
Set 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]- Parameters:
Tags
- 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
-
-