Class CreateDBSubnetGroupRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.rds.model.CreateDBSubnetGroupRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class CreateDBSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

See Also:
  • Constructor Details

    • CreateDBSubnetGroupRequest

      public CreateDBSubnetGroupRequest()
  • Method Details

    • 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(String... subnetIds)

      The EC2 Subnet IDs for the DB subnet group.

      NOTE: This method appends the values to the existing list (if any). Use setSubnetIds(java.util.Collection) or withSubnetIds(java.util.Collection) if you want to override the existing values.

      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.
    • 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 -
    • withTags

      public CreateDBSubnetGroupRequest withTags(Tag... tags)

      NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

      Parameters:
      tags -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTags

      public CreateDBSubnetGroupRequest withTags(Collection<Tag> tags)
      Parameters:
      tags -
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: