Class SecurityGroupDetail
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.redis.v20180412.models.SecurityGroupDetail
-
public class SecurityGroupDetail extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SecurityGroupDetail()SecurityGroupDetail(SecurityGroupDetail 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 创建安全组的时间。SecurityGroupsInboundAndOutbound[]getInboundRule()Get 安全组入站规则,即控制访问数据库的来源。SecurityGroupsInboundAndOutbound[]getOutboundRule()Get 安全组出站规则。LonggetProjectId()Get 项目ID。StringgetSecurityGroupId()Get 安全组 ID。StringgetSecurityGroupName()Get 安全组名称。StringgetSecurityGroupRemark()Get 安全组标记。voidsetCreateTime(String CreateTime)Set 创建安全组的时间。voidsetInboundRule(SecurityGroupsInboundAndOutbound[] InboundRule)Set 安全组入站规则,即控制访问数据库的来源。voidsetOutboundRule(SecurityGroupsInboundAndOutbound[] OutboundRule)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
-
SecurityGroupDetail
public SecurityGroupDetail()
-
SecurityGroupDetail
public SecurityGroupDetail(SecurityGroupDetail 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- 创建安全组的时间。
-
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- 安全组标记。
-
getInboundRule
public SecurityGroupsInboundAndOutbound[] getInboundRule()
Get 安全组入站规则,即控制访问数据库的来源。- Returns:
- InboundRule 安全组入站规则,即控制访问数据库的来源。
-
setInboundRule
public void setInboundRule(SecurityGroupsInboundAndOutbound[] InboundRule)
Set 安全组入站规则,即控制访问数据库的来源。- Parameters:
InboundRule- 安全组入站规则,即控制访问数据库的来源。
-
getOutboundRule
public SecurityGroupsInboundAndOutbound[] getOutboundRule()
Get 安全组出站规则。- Returns:
- OutboundRule 安全组出站规则。
-
setOutboundRule
public void setOutboundRule(SecurityGroupsInboundAndOutbound[] OutboundRule)
Set 安全组出站规则。- Parameters:
OutboundRule- 安全组出站规则。
-
-