Class AuthorizeDBSecurityGroupIngressRequest

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

public class AuthorizeDBSecurityGroupIngressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

See Also:
  • Constructor Details

    • AuthorizeDBSecurityGroupIngressRequest

      public AuthorizeDBSecurityGroupIngressRequest()
      Default constructor for AuthorizeDBSecurityGroupIngressRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
    • AuthorizeDBSecurityGroupIngressRequest

      public AuthorizeDBSecurityGroupIngressRequest(String dBSecurityGroupName)
      Constructs a new AuthorizeDBSecurityGroupIngressRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      Parameters:
      dBSecurityGroupName - The name of the DB security group to add authorization to.
  • Method Details

    • setDBSecurityGroupName

      public void setDBSecurityGroupName(String dBSecurityGroupName)

      The name of the DB security group to add authorization to.

      Parameters:
      dBSecurityGroupName - The name of the DB security group to add authorization to.
    • getDBSecurityGroupName

      public String getDBSecurityGroupName()

      The name of the DB security group to add authorization to.

      Returns:
      The name of the DB security group to add authorization to.
    • withDBSecurityGroupName

      public AuthorizeDBSecurityGroupIngressRequest withDBSecurityGroupName(String dBSecurityGroupName)

      The name of the DB security group to add authorization to.

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

      public void setCIDRIP(String cIDRIP)

      The IP range to authorize.

      Parameters:
      cIDRIP - The IP range to authorize.
    • getCIDRIP

      public String getCIDRIP()

      The IP range to authorize.

      Returns:
      The IP range to authorize.
    • withCIDRIP

      public AuthorizeDBSecurityGroupIngressRequest withCIDRIP(String cIDRIP)

      The IP range to authorize.

      Parameters:
      cIDRIP - The IP range to authorize.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEC2SecurityGroupName

      public void setEC2SecurityGroupName(String eC2SecurityGroupName)

      Name of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

      Parameters:
      eC2SecurityGroupName - Name of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
    • getEC2SecurityGroupName

      public String getEC2SecurityGroupName()

      Name of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

      Returns:
      Name of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
    • withEC2SecurityGroupName

      public AuthorizeDBSecurityGroupIngressRequest withEC2SecurityGroupName(String eC2SecurityGroupName)

      Name of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

      Parameters:
      eC2SecurityGroupName - Name of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEC2SecurityGroupId

      public void setEC2SecurityGroupId(String eC2SecurityGroupId)

      Id of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

      Parameters:
      eC2SecurityGroupId - Id of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
    • getEC2SecurityGroupId

      public String getEC2SecurityGroupId()

      Id of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

      Returns:
      Id of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
    • withEC2SecurityGroupId

      public AuthorizeDBSecurityGroupIngressRequest withEC2SecurityGroupId(String eC2SecurityGroupId)

      Id of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

      Parameters:
      eC2SecurityGroupId - Id of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEC2SecurityGroupOwnerId

      public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)

      AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

      Parameters:
      eC2SecurityGroupOwnerId - AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
    • getEC2SecurityGroupOwnerId

      public String getEC2SecurityGroupOwnerId()

      AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

      Returns:
      AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
    • withEC2SecurityGroupOwnerId

      public AuthorizeDBSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)

      AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

      Parameters:
      eC2SecurityGroupOwnerId - AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
      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: