Class DescribeVolumesRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The instance ID.The RAID array ID.A stack ID.Am array of volume IDs.int
hashCode()
void
setInstanceId
(String instanceId) The instance ID.void
setRaidArrayId
(String raidArrayId) The RAID array ID.void
setStackId
(String stackId) A stack ID.void
setVolumeIds
(Collection<String> volumeIds) Am array of volume IDs.toString()
Returns a string representation of this object; useful for testing and debugging.withInstanceId
(String instanceId) The instance ID.withRaidArrayId
(String raidArrayId) The RAID array ID.withStackId
(String stackId) A stack ID.withVolumeIds
(String... volumeIds) Am array of volume IDs.withVolumeIds
(Collection<String> volumeIds) Am array of volume IDs.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
DescribeVolumesRequest
public DescribeVolumesRequest()
-
-
Method Details
-
setInstanceId
The instance ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes associated with the specified instance.- Parameters:
instanceId
- The instance ID. If you use this parameter,DescribeVolumes
returns descriptions of the volumes associated with the specified instance.
-
getInstanceId
The instance ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes associated with the specified instance.- Returns:
- The instance ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes associated with the specified instance.
-
withInstanceId
The instance ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes associated with the specified instance.- Parameters:
instanceId
- The instance ID. If you use this parameter,DescribeVolumes
returns descriptions of the volumes associated with the specified instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStackId
A stack ID. The action describes the stack's registered Amazon EBS volumes.
- Parameters:
stackId
- A stack ID. The action describes the stack's registered Amazon EBS volumes.
-
getStackId
A stack ID. The action describes the stack's registered Amazon EBS volumes.
- Returns:
- A stack ID. The action describes the stack's registered Amazon EBS volumes.
-
withStackId
A stack ID. The action describes the stack's registered Amazon EBS volumes.
- Parameters:
stackId
- A stack ID. The action describes the stack's registered Amazon EBS volumes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRaidArrayId
The RAID array ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes associated with the specified RAID array.- Parameters:
raidArrayId
- The RAID array ID. If you use this parameter,DescribeVolumes
returns descriptions of the volumes associated with the specified RAID array.
-
getRaidArrayId
The RAID array ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes associated with the specified RAID array.- Returns:
- The RAID array ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes associated with the specified RAID array.
-
withRaidArrayId
The RAID array ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes associated with the specified RAID array.- Parameters:
raidArrayId
- The RAID array ID. If you use this parameter,DescribeVolumes
returns descriptions of the volumes associated with the specified RAID array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getVolumeIds
Am array of volume IDs. If you use this parameter,
DescribeVolumes
returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.- Returns:
- Am array of volume IDs. If you use this parameter,
DescribeVolumes
returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.
-
setVolumeIds
Am array of volume IDs. If you use this parameter,
DescribeVolumes
returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.- Parameters:
volumeIds
- Am array of volume IDs. If you use this parameter,DescribeVolumes
returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.
-
withVolumeIds
Am array of volume IDs. If you use this parameter,
DescribeVolumes
returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.NOTE: This method appends the values to the existing list (if any). Use
setVolumeIds(java.util.Collection)
orwithVolumeIds(java.util.Collection)
if you want to override the existing values.- Parameters:
volumeIds
- Am array of volume IDs. If you use this parameter,DescribeVolumes
returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVolumeIds
Am array of volume IDs. If you use this parameter,
DescribeVolumes
returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.- Parameters:
volumeIds
- Am array of volume IDs. If you use this parameter,DescribeVolumes
returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-