Class CreateDBSubnetGroupRequest

    • Constructor Detail

      • CreateDBSubnetGroupRequest

        public CreateDBSubnetGroupRequest()
    • Method Detail

      • setDBSubnetGroupName

        public void setDBSubnetGroupName​(String dBSubnetGroupName)

        The name for the DB subnet group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.

        Example: mySubnetgroup

        Parameters:
        dBSubnetGroupName - The name for the DB subnet group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.

        Example: mySubnetgroup

      • getDBSubnetGroupName

        public String getDBSubnetGroupName()

        The name for the DB subnet group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.

        Example: mySubnetgroup

        Returns:
        The name for the DB subnet group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.

        Example: mySubnetgroup

      • withDBSubnetGroupName

        public CreateDBSubnetGroupRequest withDBSubnetGroupName​(String dBSubnetGroupName)

        The name for the DB subnet group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.

        Example: mySubnetgroup

        Parameters:
        dBSubnetGroupName - The name for the DB subnet group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.

        Example: mySubnetgroup

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDBSubnetGroupDescription

        public void setDBSubnetGroupDescription​(String dBSubnetGroupDescription)

        The description for the DB subnet group.

        Parameters:
        dBSubnetGroupDescription - The description for the DB subnet group.
      • getDBSubnetGroupDescription

        public String getDBSubnetGroupDescription()

        The description for the DB subnet group.

        Returns:
        The description for the DB subnet group.
      • withDBSubnetGroupDescription

        public CreateDBSubnetGroupRequest withDBSubnetGroupDescription​(String dBSubnetGroupDescription)

        The description for the DB subnet group.

        Parameters:
        dBSubnetGroupDescription - The description for the DB subnet group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSubnetIds

        public List<String> getSubnetIds()

        The EC2 Subnet IDs for the DB subnet group.

        Returns:
        The EC2 Subnet IDs for the DB subnet group.
      • setSubnetIds

        public void setSubnetIds​(Collection<String> subnetIds)

        The EC2 Subnet IDs for the DB subnet group.

        Parameters:
        subnetIds - The EC2 Subnet IDs for the DB subnet group.
      • withSubnetIds

        public CreateDBSubnetGroupRequest withSubnetIds​(Collection<String> subnetIds)

        The EC2 Subnet IDs for the DB subnet group.

        Parameters:
        subnetIds - The EC2 Subnet IDs for the DB subnet group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()
        Returns:
      • setTags

        public void setTags​(Collection<Tag> tags)
        Parameters:
        tags -
      • 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