public class AuthorizeCacheSecurityGroupIngressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
AuthorizeCacheSecurityGroupIngress operation.
 The AuthorizeCacheSecurityGroupIngress action 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.
NOOP| Constructor and Description | 
|---|
| AuthorizeCacheSecurityGroupIngressRequest()Default constructor for a new AuthorizeCacheSecurityGroupIngressRequest object. | 
| AuthorizeCacheSecurityGroupIngressRequest(String cacheSecurityGroupName,
                                         String eC2SecurityGroupName,
                                         String eC2SecurityGroupOwnerId)Constructs a new AuthorizeCacheSecurityGroupIngressRequest object. | 
| Modifier and Type | Method and Description | 
|---|---|
| AuthorizeCacheSecurityGroupIngressRequest | clone()Creates a shallow clone of this request. | 
| 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. | 
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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.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 ObjectObject.toString()public AuthorizeCacheSecurityGroupIngressRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.