Class DescribeVolumesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.opsworks.model.DescribeVolumesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeVolumesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeVolumesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeVolumesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetInstanceId()The instance ID.StringgetRaidArrayId()The RAID array ID.StringgetStackId()A stack ID.List<String>getVolumeIds()Am array of volume IDs.inthashCode()voidsetInstanceId(String instanceId)The instance ID.voidsetRaidArrayId(String raidArrayId)The RAID array ID.voidsetStackId(String stackId)A stack ID.voidsetVolumeIds(Collection<String> volumeIds)Am array of volume IDs.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeVolumesRequestwithInstanceId(String instanceId)The instance ID.DescribeVolumesRequestwithRaidArrayId(String raidArrayId)The RAID array ID.DescribeVolumesRequestwithStackId(String stackId)A stack ID.DescribeVolumesRequestwithVolumeIds(String... volumeIds)Am array of volume IDs.DescribeVolumesRequestwithVolumeIds(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
-
-
-
-
Method Detail
-
setInstanceId
public void setInstanceId(String instanceId)
The instance ID. If you use this parameter,
DescribeVolumesreturns descriptions of the volumes associated with the specified instance.- Parameters:
instanceId- The instance ID. If you use this parameter,DescribeVolumesreturns descriptions of the volumes associated with the specified instance.
-
getInstanceId
public String getInstanceId()
The instance ID. If you use this parameter,
DescribeVolumesreturns descriptions of the volumes associated with the specified instance.- Returns:
- The instance ID. If you use this parameter,
DescribeVolumesreturns descriptions of the volumes associated with the specified instance.
-
withInstanceId
public DescribeVolumesRequest withInstanceId(String instanceId)
The instance ID. If you use this parameter,
DescribeVolumesreturns descriptions of the volumes associated with the specified instance.- Parameters:
instanceId- The instance ID. If you use this parameter,DescribeVolumesreturns 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
public void setStackId(String stackId)
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
public String 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
public DescribeVolumesRequest withStackId(String stackId)
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
public void setRaidArrayId(String raidArrayId)
The RAID array ID. If you use this parameter,
DescribeVolumesreturns descriptions of the volumes associated with the specified RAID array.- Parameters:
raidArrayId- The RAID array ID. If you use this parameter,DescribeVolumesreturns descriptions of the volumes associated with the specified RAID array.
-
getRaidArrayId
public String getRaidArrayId()
The RAID array ID. If you use this parameter,
DescribeVolumesreturns descriptions of the volumes associated with the specified RAID array.- Returns:
- The RAID array ID. If you use this parameter,
DescribeVolumesreturns descriptions of the volumes associated with the specified RAID array.
-
withRaidArrayId
public DescribeVolumesRequest withRaidArrayId(String raidArrayId)
The RAID array ID. If you use this parameter,
DescribeVolumesreturns descriptions of the volumes associated with the specified RAID array.- Parameters:
raidArrayId- The RAID array ID. If you use this parameter,DescribeVolumesreturns 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
public List<String> getVolumeIds()
Am array of volume IDs. If you use this parameter,
DescribeVolumesreturns descriptions of the specified volumes. Otherwise, it returns a description of every volume.- Returns:
- Am array of volume IDs. If you use this parameter,
DescribeVolumesreturns descriptions of the specified volumes. Otherwise, it returns a description of every volume.
-
setVolumeIds
public void setVolumeIds(Collection<String> volumeIds)
Am array of volume IDs. If you use this parameter,
DescribeVolumesreturns 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,DescribeVolumesreturns descriptions of the specified volumes. Otherwise, it returns a description of every volume.
-
withVolumeIds
public DescribeVolumesRequest withVolumeIds(String... volumeIds)
Am array of volume IDs. If you use this parameter,
DescribeVolumesreturns 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,DescribeVolumesreturns 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
public DescribeVolumesRequest withVolumeIds(Collection<String> volumeIds)
Am array of volume IDs. If you use this parameter,
DescribeVolumesreturns 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,DescribeVolumesreturns 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeVolumesRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-