public class DescribeVolumesRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
DescribeVolumesRequest()
Default constructor for a new DescribeVolumesRequest object.
|
DescribeVolumesRequest(java.util.List<java.lang.String> volumeIds)
Constructs a new DescribeVolumesRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Filter> |
getFilters()
A list of filters used to match properties for Volumes.
|
java.util.List<java.lang.String> |
getVolumeIds()
The optional list of EBS volumes to describe.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for Volumes.
|
void |
setVolumeIds(java.util.Collection<java.lang.String> volumeIds)
The optional list of EBS volumes to describe.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVolumesRequest |
withFilters(java.util.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(java.util.Collection<java.lang.String> volumeIds)
The optional list of EBS volumes to describe.
|
DescribeVolumesRequest |
withVolumeIds(java.lang.String... volumeIds)
The optional list of EBS volumes to describe.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DescribeVolumesRequest()
public DescribeVolumesRequest(java.util.List<java.lang.String> volumeIds)
volumeIds - The optional list of EBS volumes to describe.public java.util.List<java.lang.String> getVolumeIds()
public void setVolumeIds(java.util.Collection<java.lang.String> volumeIds)
volumeIds - The optional list of EBS volumes to describe.public DescribeVolumesRequest withVolumeIds(java.lang.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(java.util.Collection<java.lang.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 java.util.List<Filter> getFilters()
public void setFilters(java.util.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(java.util.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object