Class SecurityGroup
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.sqlserver.v20180328.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 String
getCreateTime()
Get 创建时间,时间格式:yyyy-mm-dd hh:mm:ssSecurityGroupPolicy[]
getInboundSet()
Get 入站规则SecurityGroupPolicy[]
getOutboundSet()
Get 出站规则Long
getProjectId()
Get 项目IDString
getSecurityGroupId()
Get 安全组IDString
getSecurityGroupName()
Get 安全组名称String
getSecurityGroupRemark()
Get 安全组备注void
setCreateTime(String CreateTime)
Set 创建时间,时间格式:yyyy-mm-dd hh:mm:ssvoid
setInboundSet(SecurityGroupPolicy[] InboundSet)
Set 入站规则void
setOutboundSet(SecurityGroupPolicy[] OutboundSet)
Set 出站规则void
setProjectId(Long ProjectId)
Set 项目IDvoid
setSecurityGroupId(String SecurityGroupId)
Set 安全组IDvoid
setSecurityGroupName(String SecurityGroupName)
Set 安全组名称void
setSecurityGroupRemark(String SecurityGroupRemark)
Set 安全组备注void
toMap(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 创建时间,时间格式: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
-
getInboundSet
public SecurityGroupPolicy[] getInboundSet()
Get 入站规则- Returns:
- InboundSet 入站规则
-
setInboundSet
public void setInboundSet(SecurityGroupPolicy[] InboundSet)
Set 入站规则- Parameters:
InboundSet
- 入站规则
-
getOutboundSet
public SecurityGroupPolicy[] getOutboundSet()
Get 出站规则- Returns:
- OutboundSet 出站规则
-
setOutboundSet
public void setOutboundSet(SecurityGroupPolicy[] OutboundSet)
Set 出站规则- Parameters:
OutboundSet
- 出站规则
-
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
- 安全组备注
-
-