Class SecurityGroup
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mongodb.v20190725.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 创建时间SecurityGroupBound[]
getInbound()
Get 入站规则SecurityGroupBound[]
getOutbound()
Get 出站规则Long
getProjectId()
Get 所属项目idString
getSecurityGroupId()
Get 安全组idString
getSecurityGroupName()
Get 安全组名称String
getSecurityGroupRemark()
Get 安全组备注void
setCreateTime(String CreateTime)
Set 创建时间void
setInbound(SecurityGroupBound[] Inbound)
Set 入站规则void
setOutbound(SecurityGroupBound[] Outbound)
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 创建时间- Returns:
- CreateTime 创建时间
-
setCreateTime
public void setCreateTime(String CreateTime)
Set 创建时间- Parameters:
CreateTime
- 创建时间
-
getInbound
public SecurityGroupBound[] getInbound()
Get 入站规则- Returns:
- Inbound 入站规则
-
setInbound
public void setInbound(SecurityGroupBound[] Inbound)
Set 入站规则- Parameters:
Inbound
- 入站规则
-
getOutbound
public SecurityGroupBound[] getOutbound()
Get 出站规则- Returns:
- Outbound 出站规则
-
setOutbound
public void setOutbound(SecurityGroupBound[] 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
- 安全组名称
-
getSecurityGroupRemark
public String getSecurityGroupRemark()
Get 安全组备注- Returns:
- SecurityGroupRemark 安全组备注
-
setSecurityGroupRemark
public void setSecurityGroupRemark(String SecurityGroupRemark)
Set 安全组备注- Parameters:
SecurityGroupRemark
- 安全组备注
-
-