public class SecurityGroup extends AbstractModel
Constructor and Description |
---|
SecurityGroup() |
SecurityGroup(SecurityGroup 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 |
getCreatedTime()
Get Security group creation time.
|
Boolean |
getIsDefault()
Get Whether it is the default security group (which cannot be deleted).
|
String |
getSecurityGroupDesc()
Get Security group remarks, which can contain up to 100 characters.
|
String |
getSecurityGroupId()
Get Security group instance ID, such as `esg-ohuuioma`.
|
String |
getSecurityGroupName()
Get Security group name, which can be customized with up to 60 characters.
|
Tag[] |
getTagSet()
Get Tag key-value pairs.
|
void |
setCreatedTime(String CreatedTime)
Set Security group creation time.
|
void |
setIsDefault(Boolean IsDefault)
Set Whether it is the default security group (which cannot be deleted).
|
void |
setSecurityGroupDesc(String SecurityGroupDesc)
Set Security group remarks, which can contain up to 100 characters.
|
void |
setSecurityGroupId(String SecurityGroupId)
Set Security group instance ID, such as `esg-ohuuioma`.
|
void |
setSecurityGroupName(String SecurityGroupName)
Set Security group name, which can be customized with up to 60 characters.
|
void |
setTagSet(Tag[] TagSet)
Set Tag key-value pairs.
|
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 SecurityGroup()
public SecurityGroup(SecurityGroup source)
public String getSecurityGroupId()
public void setSecurityGroupId(String SecurityGroupId)
SecurityGroupId
- Security group instance ID, such as `esg-ohuuioma`.public String getSecurityGroupName()
public void setSecurityGroupName(String SecurityGroupName)
SecurityGroupName
- Security group name, which can be customized with up to 60 characters.public String getSecurityGroupDesc()
public void setSecurityGroupDesc(String SecurityGroupDesc)
SecurityGroupDesc
- Security group remarks, which can contain up to 100 characters.public Boolean getIsDefault()
public void setIsDefault(Boolean IsDefault)
IsDefault
- Whether it is the default security group (which cannot be deleted).public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- Security group creation time.public Tag[] getTagSet()
public void setTagSet(Tag[] TagSet)
TagSet
- Tag key-value pairs.Copyright © 2023. All rights reserved.