public class DescribeVolumesRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DescribeVolumesRequest>
DescribeVolumes operation
.
Describes the status of the indicated volume or, in lieu of any specified, all volumes belonging to the caller. Volumes that have been deleted are not described.
Constructor and Description |
---|
DescribeVolumesRequest()
Default constructor for a new DescribeVolumesRequest object.
|
DescribeVolumesRequest(List<String> volumeIds)
Constructs a new DescribeVolumesRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Request<DescribeVolumesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
A list of filters used to match properties for Volumes.
|
List<String> |
getVolumeIds()
The optional list of EBS volumes to describe.
|
int |
hashCode() |
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DescribeVolumesRequest()
public DescribeVolumesRequest(List<String> volumeIds)
volumeIds
- The optional list of EBS volumes to describe.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 Request<DescribeVolumesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeVolumesRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.