Class RevokeDBSecurityGroupIngressRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.RevokeDBSecurityGroupIngressRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class RevokeDBSecurityGroupIngressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RevokeDBSecurityGroupIngressRequest()Default constructor for RevokeDBSecurityGroupIngressRequest object.RevokeDBSecurityGroupIngressRequest(String dBSecurityGroupName)Constructs a new RevokeDBSecurityGroupIngressRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RevokeDBSecurityGroupIngressRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetCIDRIP()The IP range to revoke access from.StringgetDBSecurityGroupName()The name of the DB security group to revoke ingress from.StringgetEC2SecurityGroupId()The id of the EC2 security group to revoke access from.StringgetEC2SecurityGroupName()The name of the EC2 security group to revoke access from.StringgetEC2SecurityGroupOwnerId()The AWS Account Number of the owner of the EC2 security group specified in theEC2SecurityGroupNameparameter.inthashCode()voidsetCIDRIP(String cIDRIP)The IP range to revoke access from.voidsetDBSecurityGroupName(String dBSecurityGroupName)The name of the DB security group to revoke ingress from.voidsetEC2SecurityGroupId(String eC2SecurityGroupId)The id of the EC2 security group to revoke access from.voidsetEC2SecurityGroupName(String eC2SecurityGroupName)The name of the EC2 security group to revoke access from.voidsetEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)The AWS Account Number of the owner of the EC2 security group specified in theEC2SecurityGroupNameparameter.StringtoString()Returns a string representation of this object; useful for testing and debugging.RevokeDBSecurityGroupIngressRequestwithCIDRIP(String cIDRIP)The IP range to revoke access from.RevokeDBSecurityGroupIngressRequestwithDBSecurityGroupName(String dBSecurityGroupName)The name of the DB security group to revoke ingress from.RevokeDBSecurityGroupIngressRequestwithEC2SecurityGroupId(String eC2SecurityGroupId)The id of the EC2 security group to revoke access from.RevokeDBSecurityGroupIngressRequestwithEC2SecurityGroupName(String eC2SecurityGroupName)The name of the EC2 security group to revoke access from.RevokeDBSecurityGroupIngressRequestwithEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)The AWS Account Number of the owner of the EC2 security group specified in theEC2SecurityGroupNameparameter.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
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
CIDRIPis specified,EC2SecurityGroupName,EC2SecurityGroupIdandEC2SecurityGroupOwnerIdcannot be provided.- Parameters:
cIDRIP- The IP range to revoke access from. Must be a valid CIDR range. IfCIDRIPis specified,EC2SecurityGroupName,EC2SecurityGroupIdandEC2SecurityGroupOwnerIdcannot be provided.
-
getCIDRIP
public String getCIDRIP()
The IP range to revoke access from. Must be a valid CIDR range. If
CIDRIPis specified,EC2SecurityGroupName,EC2SecurityGroupIdandEC2SecurityGroupOwnerIdcannot be provided.- Returns:
- The IP range to revoke access from. Must be a valid CIDR range.
If
CIDRIPis specified,EC2SecurityGroupName,EC2SecurityGroupIdandEC2SecurityGroupOwnerIdcannot be provided.
-
withCIDRIP
public RevokeDBSecurityGroupIngressRequest withCIDRIP(String cIDRIP)
The IP range to revoke access from. Must be a valid CIDR range. If
CIDRIPis specified,EC2SecurityGroupName,EC2SecurityGroupIdandEC2SecurityGroupOwnerIdcannot be provided.- Parameters:
cIDRIP- The IP range to revoke access from. Must be a valid CIDR range. IfCIDRIPis specified,EC2SecurityGroupName,EC2SecurityGroupIdandEC2SecurityGroupOwnerIdcannot 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,
EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Parameters:
eC2SecurityGroupName- The name of the EC2 security group to revoke access from. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.
-
getEC2SecurityGroupName
public String getEC2SecurityGroupName()
The name of the EC2 security group to revoke access from. For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Returns:
- The name of the EC2 security group to revoke access from. For VPC
DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.
-
withEC2SecurityGroupName
public RevokeDBSecurityGroupIngressRequest withEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the EC2 security group to revoke access from. For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Parameters:
eC2SecurityGroupName- The name of the EC2 security group to revoke access from. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust 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,
EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Parameters:
eC2SecurityGroupId- The id of the EC2 security group to revoke access from. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.
-
getEC2SecurityGroupId
public String getEC2SecurityGroupId()
The id of the EC2 security group to revoke access from. For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Returns:
- The id of the EC2 security group to revoke access from. For VPC
DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.
-
withEC2SecurityGroupId
public RevokeDBSecurityGroupIngressRequest withEC2SecurityGroupId(String eC2SecurityGroupId)
The id of the EC2 security group to revoke access from. For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Parameters:
eC2SecurityGroupId- The id of the EC2 security group to revoke access from. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust 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
EC2SecurityGroupNameparameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Parameters:
eC2SecurityGroupOwnerId- The AWS Account Number of the owner of the EC2 security group specified in theEC2SecurityGroupNameparameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.
-
getEC2SecurityGroupOwnerId
public String getEC2SecurityGroupOwnerId()
The AWS Account Number of the owner of the EC2 security group specified in the
EC2SecurityGroupNameparameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Returns:
- The AWS Account Number of the owner of the EC2 security group
specified in the
EC2SecurityGroupNameparameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.
-
withEC2SecurityGroupOwnerId
public RevokeDBSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS Account Number of the owner of the EC2 security group specified in the
EC2SecurityGroupNameparameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Parameters:
eC2SecurityGroupOwnerId- The AWS Account Number of the owner of the EC2 security group specified in theEC2SecurityGroupNameparameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RevokeDBSecurityGroupIngressRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-