|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.rds.model.RevokeDBSecurityGroupIngressRequest
public class RevokeDBSecurityGroupIngressRequest
Container for the parameters to the RevokeDBSecurityGroupIngress operation
.
Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 Security Groups. Required parameters for this API are one of CIDRIP or (EC2SecurityGroupName AND EC2SecurityGroupOwnerId).
AmazonRDS.revokeDBSecurityGroupIngress(RevokeDBSecurityGroupIngressRequest)
Constructor Summary | |
---|---|
RevokeDBSecurityGroupIngressRequest()
Default constructor for a new RevokeDBSecurityGroupIngressRequest object. |
|
RevokeDBSecurityGroupIngressRequest(String dBSecurityGroupName)
Constructs a new RevokeDBSecurityGroupIngressRequest object. |
Method Summary | |
---|---|
String |
getCIDRIP()
The IP range to revoke access from. |
String |
getDBSecurityGroupName()
The name of the DB Security Group to revoke ingress 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 security group specified in the EC2SecurityGroupName parameter. |
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 |
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 security group specified in the EC2SecurityGroupName 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 |
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 security group specified in the EC2SecurityGroupName parameter. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RevokeDBSecurityGroupIngressRequest()
public RevokeDBSecurityGroupIngressRequest(String dBSecurityGroupName)
dBSecurityGroupName
- The name of the DB Security Group to revoke
ingress from.Method Detail |
---|
public String getDBSecurityGroupName()
public void setDBSecurityGroupName(String dBSecurityGroupName)
dBSecurityGroupName
- The name of the DB Security Group to revoke ingress from.public RevokeDBSecurityGroupIngressRequest withDBSecurityGroupName(String dBSecurityGroupName)
Returns a reference to this object so that method calls can be chained together.
dBSecurityGroupName
- The name of the DB Security Group to revoke ingress from.
public String getCIDRIP()
CIDRIP
is specified, EC2SecurityGroupName
and EC2SecurityGroupOwnerId
cannot be provided.
CIDRIP
is specified, EC2SecurityGroupName
and EC2SecurityGroupOwnerId
cannot be provided.public void setCIDRIP(String cIDRIP)
CIDRIP
is specified, EC2SecurityGroupName
and EC2SecurityGroupOwnerId
cannot be provided.
cIDRIP
- The IP range to revoke access from. Must be a valid CIDR range. If
CIDRIP
is specified, EC2SecurityGroupName
and EC2SecurityGroupOwnerId
cannot be provided.public RevokeDBSecurityGroupIngressRequest withCIDRIP(String cIDRIP)
CIDRIP
is specified, EC2SecurityGroupName
and EC2SecurityGroupOwnerId
cannot be provided.
Returns a reference to this object so that method calls can be chained together.
cIDRIP
- The IP range to revoke access from. Must be a valid CIDR range. If
CIDRIP
is specified, EC2SecurityGroupName
and EC2SecurityGroupOwnerId
cannot be provided.
public String getEC2SecurityGroupName()
EC2SecurityGroupName
is specified,
EC2SecurityGroupOwnerId
must also be provided and
CIDRIP
cannot be provided.
EC2SecurityGroupName
is specified,
EC2SecurityGroupOwnerId
must also be provided and
CIDRIP
cannot be provided.public void setEC2SecurityGroupName(String eC2SecurityGroupName)
EC2SecurityGroupName
is specified,
EC2SecurityGroupOwnerId
must also be provided and
CIDRIP
cannot be provided.
eC2SecurityGroupName
- The name of the EC2 Security Group to revoke access from. If
EC2SecurityGroupName
is specified,
EC2SecurityGroupOwnerId
must also be provided and
CIDRIP
cannot be provided.public RevokeDBSecurityGroupIngressRequest withEC2SecurityGroupName(String eC2SecurityGroupName)
EC2SecurityGroupName
is specified,
EC2SecurityGroupOwnerId
must also be provided and
CIDRIP
cannot be provided.
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroupName
- The name of the EC2 Security Group to revoke access from. If
EC2SecurityGroupName
is specified,
EC2SecurityGroupOwnerId
must also be provided and
CIDRIP
cannot be provided.
public String getEC2SecurityGroupOwnerId()
EC2SecurityGroupName
parameter. The AWS Access Key ID
is not an acceptable value. If EC2SecurityGroupOwnerId
is
specified EC2SecurityGroupName
must also be provided and
CIDRIP
cannot be provided.
EC2SecurityGroupName
parameter. The AWS Access Key ID
is not an acceptable value. If EC2SecurityGroupOwnerId
is
specified EC2SecurityGroupName
must also be provided and
CIDRIP
cannot be provided.public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
EC2SecurityGroupName
parameter. The AWS Access Key ID
is not an acceptable value. If EC2SecurityGroupOwnerId
is
specified EC2SecurityGroupName
must also be provided and
CIDRIP
cannot be provided.
eC2SecurityGroupOwnerId
- The AWS Account Number of the owner of the security group specified in
the EC2SecurityGroupName
parameter. The AWS Access Key ID
is not an acceptable value. If EC2SecurityGroupOwnerId
is
specified EC2SecurityGroupName
must also be provided and
CIDRIP
cannot be provided.public RevokeDBSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
EC2SecurityGroupName
parameter. The AWS Access Key ID
is not an acceptable value. If EC2SecurityGroupOwnerId
is
specified EC2SecurityGroupName
must also be provided and
CIDRIP
cannot be provided.
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroupOwnerId
- The AWS Account Number of the owner of the security group specified in
the EC2SecurityGroupName
parameter. The AWS Access Key ID
is not an acceptable value. If EC2SecurityGroupOwnerId
is
specified EC2SecurityGroupName
must also be provided and
CIDRIP
cannot be provided.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |