Class CreateSecurityGroupRulesRequest


  • public class CreateSecurityGroupRulesRequest
    extends AbstractModel
    • Constructor Detail

      • CreateSecurityGroupRulesRequest

        public CreateSecurityGroupRulesRequest()
      • CreateSecurityGroupRulesRequest

        public CreateSecurityGroupRulesRequest​(CreateSecurityGroupRulesRequest 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

      • getData

        public SecurityGroupListData[] getData()
        Get 添加的企业安全组规则数据
        Returns:
        Data 添加的企业安全组规则数据
      • setData

        public void setData​(SecurityGroupListData[] Data)
        Set 添加的企业安全组规则数据
        Parameters:
        Data - 添加的企业安全组规则数据
      • getDirection

        public Long getDirection()
        Get 方向,0:出站,1:入站,默认1
        Returns:
        Direction 方向,0:出站,1:入站,默认1
      • setDirection

        public void setDirection​(Long Direction)
        Set 方向,0:出站,1:入站,默认1
        Parameters:
        Direction - 方向,0:出站,1:入站,默认1
      • getType

        public Long getType()
        Get 0:后插,1:前插,2:中插,默认0
        Returns:
        Type 0:后插,1:前插,2:中插,默认0
      • setType

        public void setType​(Long Type)
        Set 0:后插,1:前插,2:中插,默认0
        Parameters:
        Type - 0:后插,1:前插,2:中插,默认0
      • getEnable

        public Long getEnable()
        Get 添加后是否启用规则,0:不启用,1:启用,默认1
        Returns:
        Enable 添加后是否启用规则,0:不启用,1:启用,默认1
      • setEnable

        public void setEnable​(Long Enable)
        Set 添加后是否启用规则,0:不启用,1:启用,默认1
        Parameters:
        Enable - 添加后是否启用规则,0:不启用,1:启用,默认1