public class DescribeVolumesRequest extends AmazonWebServiceRequest implements java.io.Serializable
DescribeVolumes operation.
Describes an instance's Amazon EBS volumes.
| コンストラクタと説明 |
|---|
DescribeVolumesRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The instance ID.
|
java.lang.String |
getRaidArrayId()
The RAID array 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 |
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 |
withVolumeIds(java.util.Collection<java.lang.String> volumeIds)
Am array of volume IDs.
|
DescribeVolumesRequest |
withVolumeIds(java.lang.String... volumeIds)
Am array of volume IDs.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getInstanceId()
DescribeVolumes returns descriptions of the volumes
associated with the specified instance.DescribeVolumes returns descriptions of the volumes
associated with the specified instance.public void setInstanceId(java.lang.String instanceId)
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 DescribeVolumesRequest withInstanceId(java.lang.String instanceId)
DescribeVolumes returns descriptions of the volumes
associated with the specified instance.
Returns a reference to this object so that method calls can be chained together.
instanceId - The instance ID. If you use this parameter,
DescribeVolumes returns descriptions of the volumes
associated with the specified instance.public java.lang.String getRaidArrayId()
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 void setRaidArrayId(java.lang.String raidArrayId)
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 DescribeVolumesRequest withRaidArrayId(java.lang.String raidArrayId)
DescribeVolumes returns descriptions of the volumes
associated with the specified RAID array.
Returns a reference to this object so that method calls can be chained together.
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()
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)
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)
DescribeVolumes returns descriptions of the specified
volumes. Otherwise, it returns a description of every volume.
Returns a reference to this object so that method calls can be chained together.
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)
DescribeVolumes returns descriptions of the specified
volumes. Otherwise, it returns a description of every volume.
Returns a reference to this object so that method calls can be chained together.
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 クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object