Class SecurityGroup
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.redis.v20180412.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 创建时间,时间格式:yyyy-mm-dd hh:mm:ss。Inbound[]getInbound()Get 入站规则。Outbound[]getOutbound()Get 出站规则。LonggetProjectId()Get 项目ID。StringgetSecurityGroupId()Get 安全组ID。StringgetSecurityGroupName()Get 安全组名称。StringgetSecurityGroupRemark()Get 安全组备注。voidsetCreateTime(String CreateTime)Set 创建时间,时间格式:yyyy-mm-dd hh:mm:ss。voidsetInbound(Inbound[] Inbound)Set 入站规则。voidsetOutbound(Outbound[] Outbound)Set 出站规则。voidsetProjectId(Long ProjectId)Set 项目ID。voidsetSecurityGroupId(String SecurityGroupId)Set 安全组ID。voidsetSecurityGroupName(String SecurityGroupName)Set 安全组名称。voidsetSecurityGroupRemark(String SecurityGroupRemark)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
-
getCreateTime
public String getCreateTime()
Get 创建时间,时间格式:yyyy-mm-dd hh:mm:ss。- Returns:
- CreateTime 创建时间,时间格式:yyyy-mm-dd hh:mm:ss。
-
setCreateTime
public void setCreateTime(String CreateTime)
Set 创建时间,时间格式:yyyy-mm-dd hh:mm:ss。- Parameters:
CreateTime- 创建时间,时间格式:yyyy-mm-dd hh:mm:ss。
-
getProjectId
public Long getProjectId()
Get 项目ID。- Returns:
- ProjectId 项目ID。
-
setProjectId
public void setProjectId(Long ProjectId)
Set 项目ID。- Parameters:
ProjectId- 项目ID。
-
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- 安全组名称。
-
getSecurityGroupRemark
public String getSecurityGroupRemark()
Get 安全组备注。- Returns:
- SecurityGroupRemark 安全组备注。
-
setSecurityGroupRemark
public void setSecurityGroupRemark(String SecurityGroupRemark)
Set 安全组备注。- Parameters:
SecurityGroupRemark- 安全组备注。
-
getOutbound
public Outbound[] getOutbound()
Get 出站规则。- Returns:
- Outbound 出站规则。
-
setOutbound
public void setOutbound(Outbound[] Outbound)
Set 出站规则。- Parameters:
Outbound- 出站规则。
-
getInbound
public Inbound[] getInbound()
Get 入站规则。- Returns:
- Inbound 入站规则。
-
setInbound
public void setInbound(Inbound[] Inbound)
Set 入站规则。- Parameters:
Inbound- 入站规则。
-
-