com.amazonaws.services.ec2.model
Class DeleteVolumeRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DeleteVolumeRequest

public class DeleteVolumeRequest
extends AmazonWebServiceRequest

Represents a request to delete an Elastic Block Storage (EBS) volume.


Constructor Summary
DeleteVolumeRequest()
           
 
Method Summary
 String getVolumeId()
          The ID of the EBS volume to delete.
 void setVolumeId(String volumeId)
          The ID of the EBS volume to delete.
 String toString()
           
 DeleteVolumeRequest withVolumeId(String volumeId)
          The ID of the EBS volume to delete.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteVolumeRequest

public DeleteVolumeRequest()
Method Detail

getVolumeId

public String getVolumeId()
The ID of the EBS volume to delete.

Returns:
The ID of the EBS volume to delete.

setVolumeId

public void setVolumeId(String volumeId)
The ID of the EBS volume to delete.

Parameters:
volumeId - The ID of the EBS volume to delete.

withVolumeId

public DeleteVolumeRequest withVolumeId(String volumeId)
The ID of the EBS volume to delete.

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

Parameters:
volumeId - The ID of the EBS volume to delete.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


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