Class SecurityGroupRuleForCreate

  • All Implemented Interfaces:
    java.io.Serializable

    public class SecurityGroupRuleForCreate
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Detail

      • parentGroupId

        private java.lang.String parentGroupId
      • ipProtocol

        private java.lang.String ipProtocol
      • fromPort

        private java.lang.Integer fromPort
      • toPort

        private java.lang.Integer toPort
      • cidr

        private java.lang.String cidr
      • groupId

        private java.lang.String groupId
    • Constructor Detail

      • SecurityGroupRuleForCreate

        public SecurityGroupRuleForCreate()
      • SecurityGroupRuleForCreate

        @Deprecated
        public SecurityGroupRuleForCreate​(java.lang.Integer parentSecurityGroupId,
                                          java.lang.String ipProtocol,
                                          java.lang.Integer fromPort,
                                          java.lang.Integer toPort,
                                          java.lang.String cidr)
        Deprecated.
        Ids in some installs have shown to use strings .Use SecurityGroupRuleForCreate(String, String, Integer, Integer, String)
        Parameters:
        parentSecurityGroupId -
        ipProtocol -
        fromPort -
        toPort -
        cidr -
      • SecurityGroupRuleForCreate

        @Deprecated
        public SecurityGroupRuleForCreate​(java.lang.Integer parentGroupId,
                                          java.lang.String ipProtocol,
                                          java.lang.Integer fromPort,
                                          java.lang.Integer toPort,
                                          java.lang.Integer sourceGroupId)
        Deprecated.
        Ids in some installs have shown to use strings .Use SecurityGroupRuleForCreate(String, String, String, Integer, Integer)
        Parameters:
        parentGroupId -
        ipProtocol -
        fromPort -
        toPort -
        sourceGroupId -
      • SecurityGroupRuleForCreate

        public SecurityGroupRuleForCreate​(java.lang.String parentSecurityGroupId,
                                          java.lang.String ipProtocol,
                                          java.lang.Integer fromPort,
                                          java.lang.Integer toPort,
                                          java.lang.String cidr)
      • SecurityGroupRuleForCreate

        public SecurityGroupRuleForCreate​(java.lang.String parentGroupId,
                                          java.lang.String sourceGroupId,
                                          java.lang.String ipProtocol,
                                          java.lang.Integer fromPort,
                                          java.lang.Integer toPort)
    • Method Detail

      • getParentGroupId

        public java.lang.String getParentGroupId()
        Returns:
        the parentGroupId
      • setParentGroupId

        public void setParentGroupId​(java.lang.Integer parentGroupId)
        Deprecated.
        Parameters:
        parentGroupId - the parentGroupId to set
      • setParentGroupId

        public void setParentGroupId​(java.lang.String parentGroupId)
        Parameters:
        parentGroupId - the parentGroupId to set
      • getFromPort

        public java.lang.Integer getFromPort()
        Returns:
        the fromPort
      • setFromPort

        public void setFromPort​(java.lang.Integer fromPort)
        Parameters:
        fromPort - the fromPort to set
      • getToPort

        public java.lang.Integer getToPort()
        Returns:
        the toPort
      • setToPort

        public void setToPort​(java.lang.Integer toPort)
        Parameters:
        toPort - the toPort to set
      • getIpProtocol

        public java.lang.String getIpProtocol()
        Returns:
        the ipProtocol
      • setIpProtocol

        public void setIpProtocol​(java.lang.String ipProtocol)
        Parameters:
        ipProtocol - the ipProtocol to set
      • getCidr

        public java.lang.String getCidr()
        Returns:
        the cidr
      • setCidr

        public void setCidr​(java.lang.String cidr)
        Parameters:
        cidr - the cidr to set
      • getGroupId

        public java.lang.String getGroupId()
        Returns:
        the groupId
      • setGroupId

        public void setGroupId​(java.lang.Integer groupId)
        Deprecated.
        Parameters:
        groupId - the groupId to set
      • setGroupId

        public void setGroupId​(java.lang.String groupId)
        Parameters:
        groupId - the groupId to set
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object