public class CloneSecurityGroupRequest extends AbstractModel
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 of the security group clone.
|
String |
getRemoteRegion()
Get The region of the source security group for a cross-region clone.
|
String |
getSecurityGroupId()
Get ID of the security group to be cloned, such as `sg-33ocnj9n`.
|
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 of the security group clone.
|
void |
setRemoteRegion(String RemoteRegion)
Set The region of the source security group for a cross-region clone.
|
void |
setSecurityGroupId(String SecurityGroupId)
Set ID of the security group to be cloned, such as `sg-33ocnj9n`.
|
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 CloneSecurityGroupRequest()
public CloneSecurityGroupRequest(CloneSecurityGroupRequest source)
public String getSecurityGroupId()
public void setSecurityGroupId(String SecurityGroupId)
SecurityGroupId
- ID of the security group to be cloned, such as `sg-33ocnj9n`. This 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 of the security group clone. The default is 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 © 2023. All rights reserved.