Class RevokeDBSecurityGroupIngressRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class 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.booleanThe 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 theEC2SecurityGroupNameparameter.inthashCode()voidThe 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.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 theEC2SecurityGroupNameparameter.Methods inherited from class 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
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
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
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
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
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
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
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
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
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
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
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
-
equals
-
hashCode
-
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:
-