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 RevokeDBSecurityGroupIngressRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getCIDRIP()
The IP range to revoke access from.String
getDBSecurityGroupName()
The name of the DB security group to revoke ingress from.String
getEC2SecurityGroupId()
The id of the EC2 security group to revoke access from.String
getEC2SecurityGroupName()
The name of the EC2 security group to revoke access from.String
getEC2SecurityGroupOwnerId()
The AWS Account Number of the owner of the EC2 security group specified in theEC2SecurityGroupName
parameter.int
hashCode()
void
setCIDRIP(String cIDRIP)
The IP range to revoke access from.void
setDBSecurityGroupName(String dBSecurityGroupName)
The name of the DB security group to revoke ingress from.void
setEC2SecurityGroupId(String eC2SecurityGroupId)
The id of the EC2 security group to revoke access from.void
setEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the EC2 security group to revoke access from.void
setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS Account Number of the owner of the EC2 security group specified in theEC2SecurityGroupName
parameter.String
toString()
Returns a string representation of this object; useful for testing and debugging.RevokeDBSecurityGroupIngressRequest
withCIDRIP(String cIDRIP)
The IP range to revoke access from.RevokeDBSecurityGroupIngressRequest
withDBSecurityGroupName(String dBSecurityGroupName)
The name of the DB security group to revoke ingress from.RevokeDBSecurityGroupIngressRequest
withEC2SecurityGroupId(String eC2SecurityGroupId)
The id of the EC2 security group to revoke access from.RevokeDBSecurityGroupIngressRequest
withEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the EC2 security group to revoke access from.RevokeDBSecurityGroupIngressRequest
withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS Account Number of the owner of the EC2 security group specified in theEC2SecurityGroupName
parameter.-
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
CIDRIP
is specified,EC2SecurityGroupName
,EC2SecurityGroupId
andEC2SecurityGroupOwnerId
cannot be provided.- Parameters:
cIDRIP
- The IP range to revoke access from. Must be a valid CIDR range. IfCIDRIP
is specified,EC2SecurityGroupName
,EC2SecurityGroupId
andEC2SecurityGroupOwnerId
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
andEC2SecurityGroupOwnerId
cannot be provided.- Returns:
- The IP range to revoke access from. Must be a valid CIDR range.
If
CIDRIP
is specified,EC2SecurityGroupName
,EC2SecurityGroupId
andEC2SecurityGroupOwnerId
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
andEC2SecurityGroupOwnerId
cannot be provided.- Parameters:
cIDRIP
- The IP range to revoke access from. Must be a valid CIDR range. IfCIDRIP
is specified,EC2SecurityGroupName
,EC2SecurityGroupId
andEC2SecurityGroupOwnerId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Parameters:
eC2SecurityGroupOwnerId
- The AWS Account Number of the owner of the EC2 security group specified in theEC2SecurityGroupName
parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups,EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Parameters:
eC2SecurityGroupOwnerId
- The AWS Account Number of the owner of the EC2 security group specified in theEC2SecurityGroupName
parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups,EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupName
orEC2SecurityGroupId
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RevokeDBSecurityGroupIngressRequest 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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-