Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class DeleteCacheSecurityGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticache.model.DeleteCacheSecurityGroupRequest
All Implemented Interfaces:
Serializable

public class DeleteCacheSecurityGroupRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteCacheSecurityGroup operation.

Deletes a Cache Security Group.

NOTE:The specified Cache Security Group must not be associated with any Cache Clusters.

See Also:
AmazonElastiCache.deleteCacheSecurityGroup(DeleteCacheSecurityGroupRequest), Serialized Form

Constructor Summary
DeleteCacheSecurityGroupRequest()
          Default constructor for a new DeleteCacheSecurityGroupRequest object.
DeleteCacheSecurityGroupRequest(String cacheSecurityGroupName)
          Constructs a new DeleteCacheSecurityGroupRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getCacheSecurityGroupName()
          The name of the Cache Security Group to delete.
 int hashCode()
           
 void setCacheSecurityGroupName(String cacheSecurityGroupName)
          The name of the Cache Security Group to delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteCacheSecurityGroupRequest withCacheSecurityGroupName(String cacheSecurityGroupName)
          The name of the Cache Security Group to delete.
 
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

DeleteCacheSecurityGroupRequest

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


DeleteCacheSecurityGroupRequest

public DeleteCacheSecurityGroupRequest(String cacheSecurityGroupName)
Constructs a new DeleteCacheSecurityGroupRequest 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 delete. You cannot delete the default security group.
Method Detail

getCacheSecurityGroupName

public String getCacheSecurityGroupName()
The name of the Cache Security Group to delete. You cannot delete the default security group.

Returns:
The name of the Cache Security Group to delete. You cannot delete the default security group.

setCacheSecurityGroupName

public void setCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the Cache Security Group to delete. You cannot delete the default security group.

Parameters:
cacheSecurityGroupName - The name of the Cache Security Group to delete. You cannot delete the default security group.

withCacheSecurityGroupName

public DeleteCacheSecurityGroupRequest withCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the Cache Security Group to delete. You cannot delete the default security group.

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

Parameters:
cacheSecurityGroupName - The name of the Cache Security Group to delete. You cannot delete the default security group.
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.