Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class RevokeCacheSecurityGroupIngressRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticache.model.RevokeCacheSecurityGroupIngressRequest

public class RevokeCacheSecurityGroupIngressRequest
extends AmazonWebServiceRequest

Container for the parameters to the RevokeCacheSecurityGroupIngress operation.

Revokes ingress from a CacheSecurityGroup for previously authorized EC2 Security Groups.

See Also:
AmazonElastiCache.revokeCacheSecurityGroupIngress(RevokeCacheSecurityGroupIngressRequest)

Constructor 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 EC2 Security Group to revoke access from.
 String getEC2SecurityGroupOwnerId()
          The AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter.
 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 EC2 Security Group to revoke access from.
 void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
          The AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter.
 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 EC2 Security Group to revoke access from.
 RevokeCacheSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
          The AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RevokeCacheSecurityGroupIngressRequest

public RevokeCacheSecurityGroupIngressRequest()
Default constructor for a new RevokeCacheSecurityGroupIngressRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


RevokeCacheSecurityGroupIngressRequest

public RevokeCacheSecurityGroupIngressRequest(String cacheSecurityGroupName,
                                              String eC2SecurityGroupName,
                                              String eC2SecurityGroupOwnerId)
Constructs a new RevokeCacheSecurityGroupIngressRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
cacheSecurityGroupName - The name of the Cache Security Group to revoke ingress from.
eC2SecurityGroupName - The name of the EC2 Security Group to revoke access from.
eC2SecurityGroupOwnerId - The AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.
Method Detail

getCacheSecurityGroupName

public String getCacheSecurityGroupName()
The name of the Cache Security Group to revoke ingress from.

Returns:
The name of the Cache Security Group to revoke ingress from.

setCacheSecurityGroupName

public void setCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the Cache Security Group to revoke ingress from.

Parameters:
cacheSecurityGroupName - The name of the Cache Security Group to revoke ingress from.

withCacheSecurityGroupName

public RevokeCacheSecurityGroupIngressRequest withCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the Cache Security Group to revoke ingress from.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cacheSecurityGroupName - The name of the Cache Security Group to revoke ingress from.
Returns:
A reference to this updated object so that method calls can be chained together.

getEC2SecurityGroupName

public String getEC2SecurityGroupName()
The name of the EC2 Security Group to revoke access from.

Returns:
The name of the EC2 Security Group to revoke access from.

setEC2SecurityGroupName

public void setEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the EC2 Security Group to revoke access from.

Parameters:
eC2SecurityGroupName - The name of the EC2 Security Group to revoke access from.

withEC2SecurityGroupName

public RevokeCacheSecurityGroupIngressRequest withEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the EC2 Security Group to revoke access from.

Returns a reference to this object so that method calls can be chained together.

Parameters:
eC2SecurityGroupName - The name of the EC2 Security Group to revoke access from.
Returns:
A reference to this updated object so that method calls can be chained together.

getEC2SecurityGroupOwnerId

public String getEC2SecurityGroupOwnerId()
The AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

Returns:
The AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

setEC2SecurityGroupOwnerId

public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

Parameters:
eC2SecurityGroupOwnerId - The AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

withEC2SecurityGroupOwnerId

public RevokeCacheSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

Returns a reference to this object so that method calls can be chained together.

Parameters:
eC2SecurityGroupOwnerId - The AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.