public class CloneSecurityGroupRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CloneSecurityGroupRequest() |
CloneSecurityGroupRequest(CloneSecurityGroupRequest 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 Description of the security group clone.
|
String |
getGroupName()
Get The name of security group clone.
|
String |
getProjectId()
Get Project ID.
|
String |
getRemoteRegion()
Get The region of the source security group for a cross-region clone.
|
String |
getSecurityGroupId()
Get Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the DescribeSecurityGroups API.
|
void |
setGroupDescription(String GroupDescription)
Set Description of the security group clone.
|
void |
setGroupName(String GroupName)
Set The name of security group clone.
|
void |
setProjectId(String ProjectId)
Set Project ID.
|
void |
setRemoteRegion(String RemoteRegion)
Set The region of the source security group for a cross-region clone.
|
void |
setSecurityGroupId(String SecurityGroupId)
Set Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the DescribeSecurityGroups API.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CloneSecurityGroupRequest()
public CloneSecurityGroupRequest(CloneSecurityGroupRequest source)
public String getSecurityGroupId()
public void setSecurityGroupId(String SecurityGroupId)
SecurityGroupId
- Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the DescribeSecurityGroups API.public String getGroupName()
public void setGroupName(String GroupName)
GroupName
- The name of security group clone. You can enter any name within 60 characters. If this parameter is left empty, the security group clone will use the name of the source security group.public String getGroupDescription()
public void setGroupDescription(String GroupDescription)
GroupDescription
- Description of the security group clone. You can enter up to 100 characters. If this parameter is left empty, the security group clone will use the description of the source security group.public String getProjectId()
public void setProjectId(String ProjectId)
ProjectId
- Project ID. Default value: 0. You can query it on the project management page of the Tencent Cloud console.public String getRemoteRegion()
public void setRemoteRegion(String RemoteRegion)
RemoteRegion
- The region of the source security group for a cross-region clone. For example, to clone the security group in Guangzhou to Shanghai, set it to `ap-guangzhou`.Copyright © 2024. All rights reserved.