Class RevokeDBSecurityGroupIngressRequest

    • Constructor Detail

      • RevokeDBSecurityGroupIngressRequest

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

        public RevokeDBSecurityGroupIngressRequest​(String dBSecurityGroupName)
        Constructs a new RevokeDBSecurityGroupIngressRequest 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 revoke ingress from.
    • Method Detail

      • setDBSecurityGroupName

        public void setDBSecurityGroupName​(String dBSecurityGroupName)

        The name of the DB security group to revoke ingress from.

        Parameters:
        dBSecurityGroupName - The name of the DB security group to revoke ingress from.
      • getDBSecurityGroupName

        public String getDBSecurityGroupName()

        The name of the DB security group to revoke ingress from.

        Returns:
        The name of the DB security group to revoke ingress from.
      • withDBSecurityGroupName

        public RevokeDBSecurityGroupIngressRequest withDBSecurityGroupName​(String dBSecurityGroupName)

        The name of the DB security group to revoke ingress from.

        Parameters:
        dBSecurityGroupName - The name of the DB security group to revoke ingress from.
        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 revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId cannot be provided.

        Parameters:
        cIDRIP - The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId cannot be provided.
      • getCIDRIP

        public String getCIDRIP()

        The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId cannot be provided.

        Returns:
        The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId cannot be provided.
      • withCIDRIP

        public RevokeDBSecurityGroupIngressRequest withCIDRIP​(String cIDRIP)

        The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId cannot be provided.

        Parameters:
        cIDRIP - The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId cannot be provided.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEC2SecurityGroupName

        public void setEC2SecurityGroupName​(String eC2SecurityGroupName)

        The name of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

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

        public String getEC2SecurityGroupName()

        The name of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

        Returns:
        The name of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
      • withEC2SecurityGroupName

        public RevokeDBSecurityGroupIngressRequest withEC2SecurityGroupName​(String eC2SecurityGroupName)

        The name of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

        Parameters:
        eC2SecurityGroupName - The name of the EC2 security group to revoke access from. 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)

        The id of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

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

        public String getEC2SecurityGroupId()

        The id of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

        Returns:
        The id of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
      • withEC2SecurityGroupId

        public RevokeDBSecurityGroupIngressRequest withEC2SecurityGroupId​(String eC2SecurityGroupId)

        The id of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

        Parameters:
        eC2SecurityGroupId - The id of the EC2 security group to revoke access from. 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)

        The 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 - The 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()

        The 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:
        The 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 RevokeDBSecurityGroupIngressRequest withEC2SecurityGroupOwnerId​(String eC2SecurityGroupOwnerId)

        The 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 - The 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object