Class RevokeDBSecurityGroupIngressRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for RevokeDBSecurityGroupIngressRequest object.RevokeDBSecurityGroupIngressRequest
(String dBSecurityGroupName) Constructs a new RevokeDBSecurityGroupIngressRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The IP range to revoke access from.The name of the DB security group to revoke ingress from.The id of the EC2 security group to revoke access from.The name of the EC2 security group to revoke access from.The AWS Account Number of the owner of the EC2 security group specified in theEC2SecurityGroupName
parameter.int
hashCode()
void
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.toString()
Returns a string representation of this object; useful for testing and debugging.withCIDRIP
(String cIDRIP) The IP range to revoke access from.withDBSecurityGroupName
(String dBSecurityGroupName) The name of the DB security group to revoke ingress from.withEC2SecurityGroupId
(String eC2SecurityGroupId) The id of the EC2 security group to revoke access from.withEC2SecurityGroupName
(String eC2SecurityGroupName) The name of the EC2 security group to revoke access from.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 Details
-
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
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 Details
-
setDBSecurityGroupName
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
The name of the DB security group to revoke ingress from.
- Returns:
- The name of the DB security group to revoke ingress from.
-
withDBSecurityGroupName
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
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
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
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
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
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
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
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-