类 SecurityGroupRuleModel
- java.lang.Object
-
- com.baidubce.services.bcc.model.SecurityGroupRuleModel
-
public class SecurityGroupRuleModel extends Object
The model about the rule of the securitygroup. The tuple of (remark, protocol, direction, portRange, sourceIp|destIp, sourceGroupId|destGroupId) must be unique.
-
-
构造器概要
构造器 构造器 说明 SecurityGroupRuleModel()
-
方法概要
-
-
-
方法详细资料
-
getRemark
public String getRemark()
-
setRemark
public void setRemark(String remark)
-
withRemark
public SecurityGroupRuleModel withRemark(String remark)
-
getDirection
public String getDirection()
-
setDirection
public void setDirection(String direction)
-
withDirection
public SecurityGroupRuleModel withDirection(String direction)
-
getEthertype
public String getEthertype()
-
setEthertype
public void setEthertype(String ethertype)
-
withEthertype
public SecurityGroupRuleModel withEthertype(String ethertype)
-
getPortRange
public String getPortRange()
-
setPortRange
public void setPortRange(String portRange)
-
withPortRange
public SecurityGroupRuleModel withPortRange(String portRange)
-
getProtocol
public String getProtocol()
-
setProtocol
public void setProtocol(String protocol)
-
withProtocol
public SecurityGroupRuleModel withProtocol(String protocol)
-
getSourceGroupId
public String getSourceGroupId()
-
setSourceGroupId
public void setSourceGroupId(String sourceGroupId)
-
withSourceGroupId
public SecurityGroupRuleModel withSourceGroupId(String sourceGroupId)
-
getSourceIp
public String getSourceIp()
-
setSourceIp
public void setSourceIp(String sourceIp)
-
withSourceIp
public SecurityGroupRuleModel withSourceIp(String sourceIp)
-
getDestGroupId
public String getDestGroupId()
-
setDestGroupId
public void setDestGroupId(String destGroupId)
-
withDestGroupId
public SecurityGroupRuleModel withDestGroupId(String destGroupId)
-
getDestIp
public String getDestIp()
-
setDestIp
public void setDestIp(String destIp)
-
withDestIp
public SecurityGroupRuleModel withDestIp(String destIp)
-
getSecurityGroupId
public String getSecurityGroupId()
-
setSecurityGroupId
public void setSecurityGroupId(String securityGroupId)
-
getSecurityGroupRuleId
public String getSecurityGroupRuleId()
-
setSecurityGroupRuleId
public void setSecurityGroupRuleId(String securityGroupRuleId)
-
withSecurityGroupId
public SecurityGroupRuleModel withSecurityGroupId(String securityGroupId)
-
-