com.amazonaws.services.elasticache.model
Class DeleteCacheSubnetGroupRequest

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

public class DeleteCacheSubnetGroupRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteCacheSubnetGroup operation.

The DeleteCacheSubnetGroup operation deletes a cache subnet group.

NOTE:You cannot delete a cache subnet group if it is associated with any cache clusters.

See Also:
AmazonElastiCache.deleteCacheSubnetGroup(DeleteCacheSubnetGroupRequest), Serialized Form

Constructor Summary
DeleteCacheSubnetGroupRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCacheSubnetGroupName()
          The name of the cache subnet group to delete.
 int hashCode()
           
 void setCacheSubnetGroupName(String cacheSubnetGroupName)
          The name of the cache subnet group to delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteCacheSubnetGroupRequest withCacheSubnetGroupName(String cacheSubnetGroupName)
          The name of the cache subnet group to delete.
 
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

DeleteCacheSubnetGroupRequest

public DeleteCacheSubnetGroupRequest()
Method Detail

getCacheSubnetGroupName

public String getCacheSubnetGroupName()
The name of the cache subnet group to delete.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Returns:
The name of the cache subnet group to delete.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.


setCacheSubnetGroupName

public void setCacheSubnetGroupName(String cacheSubnetGroupName)
The name of the cache subnet group to delete.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Parameters:
cacheSubnetGroupName - The name of the cache subnet group to delete.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.


withCacheSubnetGroupName

public DeleteCacheSubnetGroupRequest withCacheSubnetGroupName(String cacheSubnetGroupName)
The name of the cache subnet group to delete.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

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

Parameters:
cacheSubnetGroupName - The name of the cache subnet group to delete.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

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 © 2016. All rights reserved.