|
||||||||||
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.RevokeCacheSecurityGroupIngressRequest
public class RevokeCacheSecurityGroupIngressRequest
Container for the parameters to the RevokeCacheSecurityGroupIngress operation
.
The RevokeCacheSecurityGroupIngress operation revokes ingress from a cache security group. Use this operation to disallow access from an Amazon EC2 security group that had been previously authorized.
AmazonElastiCache.revokeCacheSecurityGroupIngress(RevokeCacheSecurityGroupIngressRequest)
,
Serialized FormConstructor Summary | |
---|---|
RevokeCacheSecurityGroupIngressRequest()
Default constructor for a new RevokeCacheSecurityGroupIngressRequest object. |
|
RevokeCacheSecurityGroupIngressRequest(String cacheSecurityGroupName,
String eC2SecurityGroupName,
String eC2SecurityGroupOwnerId)
Constructs a new RevokeCacheSecurityGroupIngressRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCacheSecurityGroupName()
The name of the cache security group to revoke ingress from. |
String |
getEC2SecurityGroupName()
The name of the Amazon EC2 security group to revoke access from. |
String |
getEC2SecurityGroupOwnerId()
The AWS account number of the Amazon EC2 security group owner. |
int |
hashCode()
|
void |
setCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the cache security group to revoke ingress from. |
void |
setEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the Amazon EC2 security group to revoke access from. |
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. |
RevokeCacheSecurityGroupIngressRequest |
withCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the cache security group to revoke ingress from. |
RevokeCacheSecurityGroupIngressRequest |
withEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the Amazon EC2 security group to revoke access from. |
RevokeCacheSecurityGroupIngressRequest |
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 RevokeCacheSecurityGroupIngressRequest()
public RevokeCacheSecurityGroupIngressRequest(String cacheSecurityGroupName, String eC2SecurityGroupName, String eC2SecurityGroupOwnerId)
cacheSecurityGroupName
- The name of the cache security group to
revoke ingress from.eC2SecurityGroupName
- The name of the Amazon EC2 security group
to revoke access from.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 name of the cache security group to revoke ingress from.public RevokeCacheSecurityGroupIngressRequest withCacheSecurityGroupName(String cacheSecurityGroupName)
Returns a reference to this object so that method calls can be chained together.
cacheSecurityGroupName
- The name of the cache security group to revoke ingress from.
public String getEC2SecurityGroupName()
public void setEC2SecurityGroupName(String eC2SecurityGroupName)
eC2SecurityGroupName
- The name of the Amazon EC2 security group to revoke access from.public RevokeCacheSecurityGroupIngressRequest withEC2SecurityGroupName(String eC2SecurityGroupName)
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroupName
- The name of the Amazon EC2 security group to revoke access from.
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 RevokeCacheSecurityGroupIngressRequest 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 |