com.amazonaws.services.elasticache.model
Class DeleteSnapshotRequest

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

public class DeleteSnapshotRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteSnapshot operation.

The DeleteSnapshot operation deletes an existing snapshot. When you receive a successful response from this operation, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this operation.

See Also:
AmazonElastiCache.deleteSnapshot(DeleteSnapshotRequest), Serialized Form

Constructor Summary
DeleteSnapshotRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getSnapshotName()
          The name of the snapshot to be deleted.
 int hashCode()
           
 void setSnapshotName(String snapshotName)
          The name of the snapshot to be deleted.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteSnapshotRequest withSnapshotName(String snapshotName)
          The name of the snapshot to be deleted.
 
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

DeleteSnapshotRequest

public DeleteSnapshotRequest()
Method Detail

getSnapshotName

public String getSnapshotName()
The name of the snapshot to be deleted.

Returns:
The name of the snapshot to be deleted.

setSnapshotName

public void setSnapshotName(String snapshotName)
The name of the snapshot to be deleted.

Parameters:
snapshotName - The name of the snapshot to be deleted.

withSnapshotName

public DeleteSnapshotRequest withSnapshotName(String snapshotName)
The name of the snapshot to be deleted.

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

Parameters:
snapshotName - The name of the snapshot to be deleted.
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.