com.amazonaws.services.ec2.model
Class DescribeVolumesRequest

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

public class DescribeVolumesRequest
extends AmazonWebServiceRequest

A request to describe the Amazon EBS volumes that you own. If you do not specify any volume IDs, all the volumes you own will be described.


Constructor Summary
DescribeVolumesRequest()
           
 
Method Summary
 List<String> getVolumeIds()
          The optional list of EBS volumes to describe.
 void setVolumeIds(Collection<String> volumeIds)
          The optional list of EBS volumes to describe.
 String toString()
           
 DescribeVolumesRequest withVolumeIds(Collection<String> volumeIds)
          The optional list of EBS volumes to describe.
 DescribeVolumesRequest withVolumeIds(String... volumeIds)
          The optional list of EBS volumes to describe.
 
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

DescribeVolumesRequest

public DescribeVolumesRequest()
Method Detail

getVolumeIds

public List<String> getVolumeIds()
The optional list of EBS volumes to describe.

Returns:
The optional list of EBS volumes to describe.

setVolumeIds

public void setVolumeIds(Collection<String> volumeIds)
The optional list of EBS volumes to describe.

Parameters:
volumeIds - The optional list of EBS volumes to describe.

withVolumeIds

public DescribeVolumesRequest withVolumeIds(String... volumeIds)
The optional list of EBS volumes to describe.

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

Parameters:
volumeIds - The optional list of EBS volumes to describe.
Returns:
A reference to this updated object so that method calls can be chained together.

withVolumeIds

public DescribeVolumesRequest withVolumeIds(Collection<String> volumeIds)
The optional list of EBS volumes to describe.

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

Parameters:
volumeIds - The optional list of EBS volumes to describe.
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.