|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DescribeVolumesRequest
public class DescribeVolumesRequest
Container for the parameters to the DescribeVolumes operation
.
Describes the status of the indicated or, in lieu of any specified, all volumes belonging to the caller. Volumes that have been deleted are not described.
AmazonEC2.describeVolumes(DescribeVolumesRequest)
Constructor Summary | |
---|---|
DescribeVolumesRequest()
Default constructor for a new DescribeVolumesRequest object. |
|
DescribeVolumesRequest(List<String> volumeIds)
Constructs a new DescribeVolumesRequest object. |
Method Summary | |
---|---|
List<Filter> |
getFilters()
A list of filters used to match properties for Volumes. |
List<String> |
getVolumeIds()
The optional list of EBS volumes to describe. |
void |
setFilters(Collection<Filter> filters)
A list of filters used to match properties for Volumes. |
void |
setVolumeIds(Collection<String> volumeIds)
The optional list of EBS volumes to describe. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeVolumesRequest |
withFilters(Collection<Filter> filters)
A list of filters used to match properties for Volumes. |
DescribeVolumesRequest |
withFilters(Filter... filters)
A list of filters used to match properties for Volumes. |
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, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeVolumesRequest()
public DescribeVolumesRequest(List<String> volumeIds)
volumeIds
- The optional list of EBS volumes to describe.Method Detail |
---|
public List<String> getVolumeIds()
public void setVolumeIds(Collection<String> volumeIds)
volumeIds
- The optional list of EBS volumes to describe.public DescribeVolumesRequest withVolumeIds(String... volumeIds)
Returns a reference to this object so that method calls can be chained together.
volumeIds
- The optional list of EBS volumes to describe.
public DescribeVolumesRequest withVolumeIds(Collection<String> volumeIds)
Returns a reference to this object so that method calls can be chained together.
volumeIds
- The optional list of EBS volumes to describe.
public List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
filters
- A list of filters used to match properties for Volumes. For a complete
reference to the available filter keys for this operation, see the Amazon
EC2 API reference.public DescribeVolumesRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
filters
- A list of filters used to match properties for Volumes. For a complete
reference to the available filter keys for this operation, see the Amazon
EC2 API reference.
public DescribeVolumesRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters
- A list of filters used to match properties for Volumes. For a complete
reference to the available filter keys for this operation, see the Amazon
EC2 API reference.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |