public class DescribeVolumesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
instanceId
The instance ID.
|
private java.lang.String |
raidArrayId
The RAID array ID.
|
private java.lang.String |
stackId
A stack ID.
|
private SdkInternalList<java.lang.String> |
volumeIds
Am array of volume IDs.
|
NOOP
Constructor and Description |
---|
DescribeVolumesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeVolumesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The instance ID.
|
java.lang.String |
getRaidArrayId()
The RAID array ID.
|
java.lang.String |
getStackId()
A stack ID.
|
java.util.List<java.lang.String> |
getVolumeIds()
Am array of volume IDs.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The instance ID.
|
void |
setRaidArrayId(java.lang.String raidArrayId)
The RAID array ID.
|
void |
setStackId(java.lang.String stackId)
A stack ID.
|
void |
setVolumeIds(java.util.Collection<java.lang.String> volumeIds)
Am array of volume IDs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVolumesRequest |
withInstanceId(java.lang.String instanceId)
The instance ID.
|
DescribeVolumesRequest |
withRaidArrayId(java.lang.String raidArrayId)
The RAID array ID.
|
DescribeVolumesRequest |
withStackId(java.lang.String stackId)
A stack ID.
|
DescribeVolumesRequest |
withVolumeIds(java.util.Collection<java.lang.String> volumeIds)
Am array of volume IDs.
|
DescribeVolumesRequest |
withVolumeIds(java.lang.String... volumeIds)
Am array of volume IDs.
|
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
private java.lang.String instanceId
The instance ID. If you use this parameter, DescribeVolumes
returns descriptions of the volumes associated with the specified
instance.
private java.lang.String stackId
A stack ID. The action describes the stack's registered Amazon EBS volumes.
private java.lang.String raidArrayId
The RAID array ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes
associated with the specified RAID array.
private SdkInternalList<java.lang.String> 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.
public void setInstanceId(java.lang.String instanceId)
The instance ID. If you use this parameter, DescribeVolumes
returns descriptions of the volumes associated with the specified
instance.
instanceId
- The instance ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes
associated with the specified instance.public java.lang.String getInstanceId()
The instance ID. If you use this parameter, DescribeVolumes
returns descriptions of the volumes associated with the specified
instance.
DescribeVolumes
returns descriptions of the volumes
associated with the specified instance.public DescribeVolumesRequest withInstanceId(java.lang.String instanceId)
The instance ID. If you use this parameter, DescribeVolumes
returns descriptions of the volumes associated with the specified
instance.
instanceId
- The instance ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes
associated with the specified instance.public void setStackId(java.lang.String stackId)
A stack ID. The action describes the stack's registered Amazon EBS volumes.
stackId
- A stack ID. The action describes the stack's registered Amazon EBS
volumes.public java.lang.String getStackId()
A stack ID. The action describes the stack's registered Amazon EBS volumes.
public DescribeVolumesRequest withStackId(java.lang.String stackId)
A stack ID. The action describes the stack's registered Amazon EBS volumes.
stackId
- A stack ID. The action describes the stack's registered Amazon EBS
volumes.public void setRaidArrayId(java.lang.String raidArrayId)
The RAID array ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes
associated with the specified RAID array.
raidArrayId
- The RAID array ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes
associated with the specified RAID array.public java.lang.String getRaidArrayId()
The RAID array ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes
associated with the specified RAID array.
DescribeVolumes
returns descriptions of the volumes
associated with the specified RAID array.public DescribeVolumesRequest withRaidArrayId(java.lang.String raidArrayId)
The RAID array ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes
associated with the specified RAID array.
raidArrayId
- The RAID array ID. If you use this parameter,
DescribeVolumes
returns descriptions of the volumes
associated with the specified RAID array.public java.util.List<java.lang.String> 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.
DescribeVolumes
returns descriptions of the
specified volumes. Otherwise, it returns a description of every
volume.public void setVolumeIds(java.util.Collection<java.lang.String> 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.
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.public DescribeVolumesRequest withVolumeIds(java.lang.String... 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.
NOTE: This method appends the values to the existing list (if
any). Use setVolumeIds(java.util.Collection)
or
withVolumeIds(java.util.Collection)
if you want to override the
existing values.
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.public DescribeVolumesRequest withVolumeIds(java.util.Collection<java.lang.String> 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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeVolumesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()