|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticache.model.AuthorizeCacheSecurityGroupIngressRequest
public class AuthorizeCacheSecurityGroupIngressRequest
Container for the parameters to the AuthorizeCacheSecurityGroupIngress operation
.
The AuthorizeCacheSecurityGroupIngress operation allows network ingress to a cache security group. Applications using ElastiCache must be running on Amazon EC2, and Amazon EC2 security groups are used as the authorization mechanism.
NOTE: You cannot authorize ingress from an Amazon EC2 security group in one Region to an ElastiCache cluster in another Region.
AmazonElastiCache.authorizeCacheSecurityGroupIngress(AuthorizeCacheSecurityGroupIngressRequest)
,
Serialized FormConstructor Summary | |
---|---|
AuthorizeCacheSecurityGroupIngressRequest()
Default constructor for a new AuthorizeCacheSecurityGroupIngressRequest object. |
|
AuthorizeCacheSecurityGroupIngressRequest(String cacheSecurityGroupName,
String eC2SecurityGroupName,
String eC2SecurityGroupOwnerId)
Constructs a new AuthorizeCacheSecurityGroupIngressRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCacheSecurityGroupName()
The cache security group which will allow network ingress. |
String |
getEC2SecurityGroupName()
The Amazon EC2 security group to be authorized for ingress to the cache security group. |
String |
getEC2SecurityGroupOwnerId()
The AWS account number of the Amazon EC2 security group owner. |
int |
hashCode()
|
void |
setCacheSecurityGroupName(String cacheSecurityGroupName)
The cache security group which will allow network ingress. |
void |
setEC2SecurityGroupName(String eC2SecurityGroupName)
The Amazon EC2 security group to be authorized for ingress to the cache security group. |
void |
setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS account number of the Amazon EC2 security group owner. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AuthorizeCacheSecurityGroupIngressRequest |
withCacheSecurityGroupName(String cacheSecurityGroupName)
The cache security group which will allow network ingress. |
AuthorizeCacheSecurityGroupIngressRequest |
withEC2SecurityGroupName(String eC2SecurityGroupName)
The Amazon EC2 security group to be authorized for ingress to the cache security group. |
AuthorizeCacheSecurityGroupIngressRequest |
withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS account number of the Amazon EC2 security group owner. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AuthorizeCacheSecurityGroupIngressRequest()
public AuthorizeCacheSecurityGroupIngressRequest(String cacheSecurityGroupName, String eC2SecurityGroupName, String eC2SecurityGroupOwnerId)
cacheSecurityGroupName
- The cache security group which will
allow network ingress.eC2SecurityGroupName
- The Amazon EC2 security group to be
authorized for ingress to the cache security group.eC2SecurityGroupOwnerId
- The AWS account number of the Amazon
EC2 security group owner. Note that this is not the same thing as an
AWS access key ID - you must provide a valid AWS account number for
this parameter.Method Detail |
---|
public String getCacheSecurityGroupName()
public void setCacheSecurityGroupName(String cacheSecurityGroupName)
cacheSecurityGroupName
- The cache security group which will allow network ingress.public AuthorizeCacheSecurityGroupIngressRequest withCacheSecurityGroupName(String cacheSecurityGroupName)
Returns a reference to this object so that method calls can be chained together.
cacheSecurityGroupName
- The cache security group which will allow network ingress.
public String getEC2SecurityGroupName()
public void setEC2SecurityGroupName(String eC2SecurityGroupName)
eC2SecurityGroupName
- The Amazon EC2 security group to be authorized for ingress to the
cache security group.public AuthorizeCacheSecurityGroupIngressRequest withEC2SecurityGroupName(String eC2SecurityGroupName)
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroupName
- The Amazon EC2 security group to be authorized for ingress to the
cache security group.
public String getEC2SecurityGroupOwnerId()
public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
eC2SecurityGroupOwnerId
- The AWS account number of the Amazon EC2 security group owner. Note
that this is not the same thing as an AWS access key ID - you must
provide a valid AWS account number for this parameter.public AuthorizeCacheSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroupOwnerId
- The AWS account number of the Amazon EC2 security group owner. Note
that this is not the same thing as an AWS access key ID - you must
provide a valid AWS account number for this parameter.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |