Class CreateSecurityGroupRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.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 StringgetGroupDescription()Get 安全组备注,最多100个字符。StringgetGroupName()Get 安全组名称,可任意命名,但不得超过60个字符。StringgetProjectId()Get 项目ID,默认0。可在控制台项目管理页面查询到。Tag[]getTags()Get 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。voidsetGroupDescription(String GroupDescription)Set 安全组备注,最多100个字符。voidsetGroupName(String GroupName)Set 安全组名称,可任意命名,但不得超过60个字符。voidsetProjectId(String ProjectId)Set 项目ID,默认0。可在控制台项目管理页面查询到。voidsetTags(Tag[] Tags)Set 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。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
-
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个字符。
-
getProjectId
public String getProjectId()
Get 项目ID,默认0。可在控制台项目管理页面查询到。- Returns:
- ProjectId 项目ID,默认0。可在控制台项目管理页面查询到。
-
setProjectId
public void setProjectId(String ProjectId)
Set 项目ID,默认0。可在控制台项目管理页面查询到。- Parameters:
ProjectId- 项目ID,默认0。可在控制台项目管理页面查询到。
-
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"}]。
-
-