public class CreateSecurityGroupRequest extends AbstractModel
| Constructor and 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getGroupDescription()Get The remarks for the security group. | 
| String | getGroupName()Get Security group can be named freely, but cannot exceed 60 characters. | 
| String | getProjectId()Get Project ID. | 
| Tag[] | getTags()Get Bound tags, such as [{"Key": "city", "Value": "shanghai"}]. | 
| void | setGroupDescription(String GroupDescription)Set The remarks for the security group. | 
| void | setGroupName(String GroupName)Set Security group can be named freely, but cannot exceed 60 characters. | 
| void | setProjectId(String ProjectId)Set Project ID. | 
| void | setTags(Tag[] Tags)Set Bound tags, such as [{"Key": "city", "Value": "shanghai"}]. | 
| 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, toJsonStringpublic CreateSecurityGroupRequest()
public CreateSecurityGroupRequest(CreateSecurityGroupRequest source)
public String getGroupName()
public void setGroupName(String GroupName)
GroupName - Security group can be named freely, but cannot exceed 60 characters.public String getGroupDescription()
public void setGroupDescription(String GroupDescription)
GroupDescription - The remarks for the security group. The maximum length is 100 characters.public String getProjectId()
public void setProjectId(String ProjectId)
ProjectId - Project ID. The default is 0. You can query it on the project management page of the Qcloud console.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags - Bound tags, such as [{"Key": "city", "Value": "shanghai"}].Copyright © 2021. All rights reserved.