public class RevokeDBSecurityGroupIngressRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cIDRIP
The IP range to revoke access from.
|
private java.lang.String |
dBSecurityGroupName
The name of the DB security group to revoke ingress from.
|
private java.lang.String |
eC2SecurityGroupId
The id of the EC2 security group to revoke access from.
|
private java.lang.String |
eC2SecurityGroupName
The name of the EC2 security group to revoke access from.
|
private java.lang.String |
eC2SecurityGroupOwnerId
The AWS Account Number of the owner of the EC2 security group specified
in the
EC2SecurityGroupName parameter. |
NOOP
Constructor and Description |
---|
RevokeDBSecurityGroupIngressRequest()
Default constructor for RevokeDBSecurityGroupIngressRequest object.
|
RevokeDBSecurityGroupIngressRequest(java.lang.String dBSecurityGroupName)
Constructs a new RevokeDBSecurityGroupIngressRequest object.
|
Modifier and Type | Method and Description |
---|---|
RevokeDBSecurityGroupIngressRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCIDRIP()
The IP range to revoke access from.
|
java.lang.String |
getDBSecurityGroupName()
The name of the DB security group to revoke ingress from.
|
java.lang.String |
getEC2SecurityGroupId()
The id of the EC2 security group to revoke access from.
|
java.lang.String |
getEC2SecurityGroupName()
The name of the EC2 security group to revoke access from.
|
java.lang.String |
getEC2SecurityGroupOwnerId()
The AWS Account Number of the owner of the EC2 security group specified
in the
EC2SecurityGroupName parameter. |
int |
hashCode() |
void |
setCIDRIP(java.lang.String cIDRIP)
The IP range to revoke access from.
|
void |
setDBSecurityGroupName(java.lang.String dBSecurityGroupName)
The name of the DB security group to revoke ingress from.
|
void |
setEC2SecurityGroupId(java.lang.String eC2SecurityGroupId)
The id of the EC2 security group to revoke access from.
|
void |
setEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
The name of the EC2 security group to revoke access from.
|
void |
setEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)
The AWS Account Number of the owner of the EC2 security group specified
in the
EC2SecurityGroupName parameter. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RevokeDBSecurityGroupIngressRequest |
withCIDRIP(java.lang.String cIDRIP)
The IP range to revoke access from.
|
RevokeDBSecurityGroupIngressRequest |
withDBSecurityGroupName(java.lang.String dBSecurityGroupName)
The name of the DB security group to revoke ingress from.
|
RevokeDBSecurityGroupIngressRequest |
withEC2SecurityGroupId(java.lang.String eC2SecurityGroupId)
The id of the EC2 security group to revoke access from.
|
RevokeDBSecurityGroupIngressRequest |
withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
The name of the EC2 security group to revoke access from.
|
RevokeDBSecurityGroupIngressRequest |
withEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)
The AWS Account Number of the owner of the EC2 security group specified
in the
EC2SecurityGroupName parameter. |
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
private java.lang.String dBSecurityGroupName
The name of the DB security group to revoke ingress from.
private java.lang.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.
private java.lang.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.
private java.lang.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.
private java.lang.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.
public RevokeDBSecurityGroupIngressRequest()
public RevokeDBSecurityGroupIngressRequest(java.lang.String dBSecurityGroupName)
dBSecurityGroupName
- The name of the DB security group to revoke ingress from.public void setDBSecurityGroupName(java.lang.String dBSecurityGroupName)
The name of the DB security group to revoke ingress from.
dBSecurityGroupName
- The name of the DB security group to revoke ingress from.public java.lang.String getDBSecurityGroupName()
The name of the DB security group to revoke ingress from.
public RevokeDBSecurityGroupIngressRequest withDBSecurityGroupName(java.lang.String dBSecurityGroupName)
The name of the DB security group to revoke ingress from.
dBSecurityGroupName
- The name of the DB security group to revoke ingress from.public void setCIDRIP(java.lang.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.
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.public java.lang.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.
CIDRIP
is specified,
EC2SecurityGroupName
,
EC2SecurityGroupId
and
EC2SecurityGroupOwnerId
cannot be provided.public RevokeDBSecurityGroupIngressRequest withCIDRIP(java.lang.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.
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.public void setEC2SecurityGroupName(java.lang.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.
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.public java.lang.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.
EC2SecurityGroupId
must be
provided. Otherwise, EC2SecurityGroupOwnerId and either
EC2SecurityGroupName
or
EC2SecurityGroupId
must be provided.public RevokeDBSecurityGroupIngressRequest withEC2SecurityGroupName(java.lang.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.
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.public void setEC2SecurityGroupId(java.lang.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.
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.public java.lang.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.
EC2SecurityGroupId
must be
provided. Otherwise, EC2SecurityGroupOwnerId and either
EC2SecurityGroupName
or
EC2SecurityGroupId
must be provided.public RevokeDBSecurityGroupIngressRequest withEC2SecurityGroupId(java.lang.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.
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.public void setEC2SecurityGroupOwnerId(java.lang.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.
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.public java.lang.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.
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.public RevokeDBSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(java.lang.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RevokeDBSecurityGroupIngressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()