Class AuthorizeDBSecurityGroupIngressRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for AuthorizeDBSecurityGroupIngressRequest object.AuthorizeDBSecurityGroupIngressRequest
(String dBSecurityGroupName) Constructs a new AuthorizeDBSecurityGroupIngressRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The IP range to authorize.The name of the DB security group to add authorization to.Id of the EC2 security group to authorize.Name of the EC2 security group to authorize.AWS account number of the owner of the EC2 security group specified in theEC2SecurityGroupName
parameter.int
hashCode()
void
The IP range to authorize.void
setDBSecurityGroupName
(String dBSecurityGroupName) The name of the DB security group to add authorization to.void
setEC2SecurityGroupId
(String eC2SecurityGroupId) Id of the EC2 security group to authorize.void
setEC2SecurityGroupName
(String eC2SecurityGroupName) Name of the EC2 security group to authorize.void
setEC2SecurityGroupOwnerId
(String eC2SecurityGroupOwnerId) 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 authorize.withDBSecurityGroupName
(String dBSecurityGroupName) The name of the DB security group to add authorization to.withEC2SecurityGroupId
(String eC2SecurityGroupId) Id of the EC2 security group to authorize.withEC2SecurityGroupName
(String eC2SecurityGroupName) Name of the EC2 security group to authorize.withEC2SecurityGroupOwnerId
(String eC2SecurityGroupOwnerId) 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
-
AuthorizeDBSecurityGroupIngressRequest
public AuthorizeDBSecurityGroupIngressRequest()Default constructor for AuthorizeDBSecurityGroupIngressRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
AuthorizeDBSecurityGroupIngressRequest
Constructs a new AuthorizeDBSecurityGroupIngressRequest 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 add authorization to.
-
-
Method Details
-
setDBSecurityGroupName
The name of the DB security group to add authorization to.
- Parameters:
dBSecurityGroupName
- The name of the DB security group to add authorization to.
-
getDBSecurityGroupName
The name of the DB security group to add authorization to.
- Returns:
- The name of the DB security group to add authorization to.
-
withDBSecurityGroupName
The name of the DB security group to add authorization to.
- Parameters:
dBSecurityGroupName
- The name of the DB security group to add authorization to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCIDRIP
The IP range to authorize.
- Parameters:
cIDRIP
- The IP range to authorize.
-
getCIDRIP
The IP range to authorize.
- Returns:
- The IP range to authorize.
-
withCIDRIP
The IP range to authorize.
- Parameters:
cIDRIP
- The IP range to authorize.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEC2SecurityGroupName
Name of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Parameters:
eC2SecurityGroupName
- Name of the EC2 security group to authorize. For VPC DB security groups,EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.
-
getEC2SecurityGroupName
Name of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Returns:
- Name of the EC2 security group to authorize. For VPC DB security
groups,
EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.
-
withEC2SecurityGroupName
Name of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Parameters:
eC2SecurityGroupName
- Name of the EC2 security group to authorize. 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
Id of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Parameters:
eC2SecurityGroupId
- Id of the EC2 security group to authorize. For VPC DB security groups,EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.
-
getEC2SecurityGroupId
Id of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Returns:
- Id of the EC2 security group to authorize. For VPC DB security
groups,
EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.
-
withEC2SecurityGroupId
Id of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Parameters:
eC2SecurityGroupId
- Id of the EC2 security group to authorize. 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
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
- 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
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:
- 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 AuthorizeDBSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId) 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
- 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:
-