Class DBSecurityGroup

    • Constructor Detail

      • DBSecurityGroup

        public DBSecurityGroup()
    • Method Detail

      • setOwnerId

        public void setOwnerId​(String ownerId)

        Provides the AWS ID of the owner of a specific DB security group.

        Parameters:
        ownerId - Provides the AWS ID of the owner of a specific DB security group.
      • getOwnerId

        public String getOwnerId()

        Provides the AWS ID of the owner of a specific DB security group.

        Returns:
        Provides the AWS ID of the owner of a specific DB security group.
      • withOwnerId

        public DBSecurityGroup withOwnerId​(String ownerId)

        Provides the AWS ID of the owner of a specific DB security group.

        Parameters:
        ownerId - Provides the AWS ID of the owner of a specific DB security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDBSecurityGroupName

        public void setDBSecurityGroupName​(String dBSecurityGroupName)

        Specifies the name of the DB security group.

        Parameters:
        dBSecurityGroupName - Specifies the name of the DB security group.
      • getDBSecurityGroupName

        public String getDBSecurityGroupName()

        Specifies the name of the DB security group.

        Returns:
        Specifies the name of the DB security group.
      • withDBSecurityGroupName

        public DBSecurityGroup withDBSecurityGroupName​(String dBSecurityGroupName)

        Specifies the name of the DB security group.

        Parameters:
        dBSecurityGroupName - Specifies the name of the DB security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDBSecurityGroupDescription

        public void setDBSecurityGroupDescription​(String dBSecurityGroupDescription)

        Provides the description of the DB security group.

        Parameters:
        dBSecurityGroupDescription - Provides the description of the DB security group.
      • getDBSecurityGroupDescription

        public String getDBSecurityGroupDescription()

        Provides the description of the DB security group.

        Returns:
        Provides the description of the DB security group.
      • withDBSecurityGroupDescription

        public DBSecurityGroup withDBSecurityGroupDescription​(String dBSecurityGroupDescription)

        Provides the description of the DB security group.

        Parameters:
        dBSecurityGroupDescription - Provides the description of the DB security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVpcId

        public void setVpcId​(String vpcId)

        Provides the VpcId of the DB security group.

        Parameters:
        vpcId - Provides the VpcId of the DB security group.
      • getVpcId

        public String getVpcId()

        Provides the VpcId of the DB security group.

        Returns:
        Provides the VpcId of the DB security group.
      • withVpcId

        public DBSecurityGroup withVpcId​(String vpcId)

        Provides the VpcId of the DB security group.

        Parameters:
        vpcId - Provides the VpcId of the DB security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getIPRanges

        public List<IPRange> getIPRanges()

        Contains a list of IPRange elements.

        Returns:
        Contains a list of IPRange elements.
      • setIPRanges

        public void setIPRanges​(Collection<IPRange> iPRanges)

        Contains a list of IPRange elements.

        Parameters:
        iPRanges - Contains a list of IPRange elements.
      • withIPRanges

        public DBSecurityGroup withIPRanges​(Collection<IPRange> iPRanges)

        Contains a list of IPRange elements.

        Parameters:
        iPRanges - Contains a list of IPRange elements.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object