Class AuthorizeDBSecurityGroupIngressRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.AuthorizeDBSecurityGroupIngressRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class AuthorizeDBSecurityGroupIngressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description AuthorizeDBSecurityGroupIngressRequest()
Default constructor for AuthorizeDBSecurityGroupIngressRequest object.AuthorizeDBSecurityGroupIngressRequest(String dBSecurityGroupName)
Constructs a new AuthorizeDBSecurityGroupIngressRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizeDBSecurityGroupIngressRequest
clone()
Creates a shallow clone of this request.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 theEC2SecurityGroupName
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 theEC2SecurityGroupName
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 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 Detail
-
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
public AuthorizeDBSecurityGroupIngressRequest(String dBSecurityGroupName)
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 Detail
-
setDBSecurityGroupName
public void setDBSecurityGroupName(String dBSecurityGroupName)
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
public String 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
public AuthorizeDBSecurityGroupIngressRequest withDBSecurityGroupName(String dBSecurityGroupName)
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
public void setCIDRIP(String cIDRIP)
The IP range to authorize.
- Parameters:
cIDRIP
- The IP range to authorize.
-
getCIDRIP
public String getCIDRIP()
The IP range to authorize.
- Returns:
- The IP range to authorize.
-
withCIDRIP
public AuthorizeDBSecurityGroupIngressRequest withCIDRIP(String cIDRIP)
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
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 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
public String 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
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 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
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 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
public String 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
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 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
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 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
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 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AuthorizeDBSecurityGroupIngressRequest 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:
Object.clone()
-
-