Class SecurityGroup
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.postgres.v20170312.models.SecurityGroup
-
public class SecurityGroup extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreateTime()Get 创建时间PolicyRule[]getInbound()Get 入站规则PolicyRule[]getOutbound()Get 出站规则LonggetProjectId()Get 项目IdStringgetSecurityGroupDescription()Get 安全组备注StringgetSecurityGroupId()Get 安全组IDStringgetSecurityGroupName()Get 安全组名称voidsetCreateTime(String CreateTime)Set 创建时间voidsetInbound(PolicyRule[] Inbound)Set 入站规则voidsetOutbound(PolicyRule[] Outbound)Set 出站规则voidsetProjectId(Long ProjectId)Set 项目IdvoidsetSecurityGroupDescription(String SecurityGroupDescription)Set 安全组备注voidsetSecurityGroupId(String SecurityGroupId)Set 安全组IDvoidsetSecurityGroupName(String SecurityGroupName)Set 安全组名称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
-
SecurityGroup
public SecurityGroup()
-
SecurityGroup
public 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.
-
-
Method Detail
-
getProjectId
public Long getProjectId()
Get 项目Id- Returns:
- ProjectId 项目Id
-
setProjectId
public void setProjectId(Long ProjectId)
Set 项目Id- Parameters:
ProjectId- 项目Id
-
getCreateTime
public String getCreateTime()
Get 创建时间- Returns:
- CreateTime 创建时间
-
setCreateTime
public void setCreateTime(String CreateTime)
Set 创建时间- Parameters:
CreateTime- 创建时间
-
getInbound
public PolicyRule[] getInbound()
Get 入站规则- Returns:
- Inbound 入站规则
-
setInbound
public void setInbound(PolicyRule[] Inbound)
Set 入站规则- Parameters:
Inbound- 入站规则
-
getOutbound
public PolicyRule[] getOutbound()
Get 出站规则- Returns:
- Outbound 出站规则
-
setOutbound
public void setOutbound(PolicyRule[] Outbound)
Set 出站规则- Parameters:
Outbound- 出站规则
-
getSecurityGroupId
public String getSecurityGroupId()
Get 安全组ID- Returns:
- SecurityGroupId 安全组ID
-
setSecurityGroupId
public void setSecurityGroupId(String SecurityGroupId)
Set 安全组ID- Parameters:
SecurityGroupId- 安全组ID
-
getSecurityGroupName
public String getSecurityGroupName()
Get 安全组名称- Returns:
- SecurityGroupName 安全组名称
-
setSecurityGroupName
public void setSecurityGroupName(String SecurityGroupName)
Set 安全组名称- Parameters:
SecurityGroupName- 安全组名称
-
getSecurityGroupDescription
public String getSecurityGroupDescription()
Get 安全组备注- Returns:
- SecurityGroupDescription 安全组备注
-
setSecurityGroupDescription
public void setSecurityGroupDescription(String SecurityGroupDescription)
Set 安全组备注- Parameters:
SecurityGroupDescription- 安全组备注
-
-