@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVolumesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeVolumesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeVolumesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceId()
The instance ID.
|
String |
getRaidArrayId()
The RAID array ID.
|
String |
getStackId()
A stack ID.
|
List<String> |
getVolumeIds()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeVolumesRequest |
withInstanceId(String instanceId)
The instance ID.
|
DescribeVolumesRequest |
withRaidArrayId(String raidArrayId)
The RAID array ID.
|
DescribeVolumesRequest |
withStackId(String stackId)
A stack ID.
|
DescribeVolumesRequest |
withVolumeIds(Collection<String> volumeIds)
Am array of volume IDs.
|
DescribeVolumesRequest |
withVolumeIds(String... volumeIds)
Am array of volume IDs.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setInstanceId(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 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(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(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 String getStackId()
A stack ID. The action describes the stack's registered Amazon EBS volumes.
public DescribeVolumesRequest withStackId(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(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 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(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 List<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(Collection<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(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(Collection<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 String toString()
toString
in class Object
Object.toString()
public DescribeVolumesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.