@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthorizeDBSecurityGroupIngressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AuthorizeDBSecurityGroupIngressRequest()
Default constructor for AuthorizeDBSecurityGroupIngressRequest object.
|
AuthorizeDBSecurityGroupIngressRequest(String dBSecurityGroupName)
Constructs a new AuthorizeDBSecurityGroupIngressRequest object.
|
Modifier and Type | Method and Description |
---|---|
AuthorizeDBSecurityGroupIngressRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCIDRIP()
The IP range to authorize.
|
String |
getDBSecurityGroupName()
The name of the DB security group to add authorization to.
|
String |
getEC2SecurityGroupId()
Id of the EC2 security group to authorize.
|
String |
getEC2SecurityGroupName()
Name of the EC2 security group to authorize.
|
String |
getEC2SecurityGroupOwnerId()
AWS account number of the owner of the EC2 security group specified in the
EC2SecurityGroupName
parameter. |
int |
hashCode() |
void |
setCIDRIP(String cIDRIP)
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 the
EC2SecurityGroupName
parameter. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AuthorizeDBSecurityGroupIngressRequest |
withCIDRIP(String cIDRIP)
The IP range to authorize.
|
AuthorizeDBSecurityGroupIngressRequest |
withDBSecurityGroupName(String dBSecurityGroupName)
The name of the DB security group to add authorization to.
|
AuthorizeDBSecurityGroupIngressRequest |
withEC2SecurityGroupId(String eC2SecurityGroupId)
Id of the EC2 security group to authorize.
|
AuthorizeDBSecurityGroupIngressRequest |
withEC2SecurityGroupName(String eC2SecurityGroupName)
Name of the EC2 security group to authorize.
|
AuthorizeDBSecurityGroupIngressRequest |
withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
AWS account number of the owner of the EC2 security group specified in the
EC2SecurityGroupName
parameter. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public AuthorizeDBSecurityGroupIngressRequest()
public AuthorizeDBSecurityGroupIngressRequest(String dBSecurityGroupName)
dBSecurityGroupName
- The name of the DB security group to add authorization to.public void setDBSecurityGroupName(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 String getDBSecurityGroupName()
The name of the DB security group to add authorization to.
public AuthorizeDBSecurityGroupIngressRequest withDBSecurityGroupName(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(String cIDRIP)
The IP range to authorize.
cIDRIP
- The IP range to authorize.public String getCIDRIP()
The IP range to authorize.
public AuthorizeDBSecurityGroupIngressRequest withCIDRIP(String cIDRIP)
The IP range to authorize.
cIDRIP
- The IP range to authorize.public void setEC2SecurityGroupName(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 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(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(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 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(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(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 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(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 String toString()
toString
in class Object
Object.toString()
public AuthorizeDBSecurityGroupIngressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.