public class AuthorizeDBSecurityGroupIngressRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cIDRIP
The IP range to authorize.
|
private java.lang.String |
dBSecurityGroupName
The name of the DB security group to add authorization to.
|
private java.lang.String |
eC2SecurityGroupId
Id of the EC2 security group to authorize.
|
private java.lang.String |
eC2SecurityGroupName
Name of the EC2 security group to authorize.
|
private java.lang.String |
eC2SecurityGroupOwnerId
AWS account number of the owner of the EC2 security group specified in
the
EC2SecurityGroupName parameter. |
NOOP
Constructor and Description |
---|
AuthorizeDBSecurityGroupIngressRequest()
Default constructor for AuthorizeDBSecurityGroupIngressRequest object.
|
AuthorizeDBSecurityGroupIngressRequest(java.lang.String dBSecurityGroupName)
Constructs a new AuthorizeDBSecurityGroupIngressRequest object.
|
Modifier and Type | Method and Description |
---|---|
AuthorizeDBSecurityGroupIngressRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCIDRIP()
The IP range to authorize.
|
java.lang.String |
getDBSecurityGroupName()
The name of the DB security group to add authorization to.
|
java.lang.String |
getEC2SecurityGroupId()
Id of the EC2 security group to authorize.
|
java.lang.String |
getEC2SecurityGroupName()
Name of the EC2 security group to authorize.
|
java.lang.String |
getEC2SecurityGroupOwnerId()
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 authorize.
|
void |
setDBSecurityGroupName(java.lang.String dBSecurityGroupName)
The name of the DB security group to add authorization to.
|
void |
setEC2SecurityGroupId(java.lang.String eC2SecurityGroupId)
Id of the EC2 security group to authorize.
|
void |
setEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
Name of the EC2 security group to authorize.
|
void |
setEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)
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.
|
AuthorizeDBSecurityGroupIngressRequest |
withCIDRIP(java.lang.String cIDRIP)
The IP range to authorize.
|
AuthorizeDBSecurityGroupIngressRequest |
withDBSecurityGroupName(java.lang.String dBSecurityGroupName)
The name of the DB security group to add authorization to.
|
AuthorizeDBSecurityGroupIngressRequest |
withEC2SecurityGroupId(java.lang.String eC2SecurityGroupId)
Id of the EC2 security group to authorize.
|
AuthorizeDBSecurityGroupIngressRequest |
withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
Name of the EC2 security group to authorize.
|
AuthorizeDBSecurityGroupIngressRequest |
withEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)
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 add authorization to.
private java.lang.String cIDRIP
The IP range to authorize.
private java.lang.String eC2SecurityGroupName
Name of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,
EC2SecurityGroupOwnerId
and either
EC2SecurityGroupName
or EC2SecurityGroupId
must
be provided.
private java.lang.String eC2SecurityGroupId
Id of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,
EC2SecurityGroupOwnerId
and either
EC2SecurityGroupName
or EC2SecurityGroupId
must
be provided.
private java.lang.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 either
EC2SecurityGroupName
or EC2SecurityGroupId
must
be provided.
public AuthorizeDBSecurityGroupIngressRequest()
public AuthorizeDBSecurityGroupIngressRequest(java.lang.String dBSecurityGroupName)
dBSecurityGroupName
- The name of the DB security group to add authorization to.public void setDBSecurityGroupName(java.lang.String dBSecurityGroupName)
The name of the DB security group to add authorization to.
dBSecurityGroupName
- The name of the DB security group to add authorization to.public java.lang.String getDBSecurityGroupName()
The name of the DB security group to add authorization to.
public AuthorizeDBSecurityGroupIngressRequest withDBSecurityGroupName(java.lang.String dBSecurityGroupName)
The name of the DB security group to add authorization to.
dBSecurityGroupName
- The name of the DB security group to add authorization to.public void setCIDRIP(java.lang.String cIDRIP)
The IP range to authorize.
cIDRIP
- The IP range to authorize.public java.lang.String getCIDRIP()
The IP range to authorize.
public AuthorizeDBSecurityGroupIngressRequest withCIDRIP(java.lang.String cIDRIP)
The IP range to authorize.
cIDRIP
- The IP range to authorize.public void setEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
Name of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,
EC2SecurityGroupOwnerId
and either
EC2SecurityGroupName
or EC2SecurityGroupId
must
be provided.
eC2SecurityGroupName
- Name of the EC2 security group to authorize. For VPC DB security
groups, EC2SecurityGroupId
must be provided.
Otherwise, EC2SecurityGroupOwnerId
and either
EC2SecurityGroupName
or
EC2SecurityGroupId
must be provided.public java.lang.String getEC2SecurityGroupName()
Name of the EC2 security group to authorize. 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 AuthorizeDBSecurityGroupIngressRequest withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
Name of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,
EC2SecurityGroupOwnerId
and either
EC2SecurityGroupName
or EC2SecurityGroupId
must
be provided.
eC2SecurityGroupName
- Name of the EC2 security group to authorize. 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)
Id of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,
EC2SecurityGroupOwnerId
and either
EC2SecurityGroupName
or EC2SecurityGroupId
must
be provided.
eC2SecurityGroupId
- Id of the EC2 security group to authorize. For VPC DB security
groups, EC2SecurityGroupId
must be provided.
Otherwise, EC2SecurityGroupOwnerId
and either
EC2SecurityGroupName
or
EC2SecurityGroupId
must be provided.public java.lang.String getEC2SecurityGroupId()
Id of the EC2 security group to authorize. 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 AuthorizeDBSecurityGroupIngressRequest withEC2SecurityGroupId(java.lang.String eC2SecurityGroupId)
Id of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,
EC2SecurityGroupOwnerId
and either
EC2SecurityGroupName
or EC2SecurityGroupId
must
be provided.
eC2SecurityGroupId
- Id of the EC2 security group to authorize. 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)
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
- 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()
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 AuthorizeDBSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(java.lang.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 either
EC2SecurityGroupName
or EC2SecurityGroupId
must
be provided.
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 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 AuthorizeDBSecurityGroupIngressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()