public class ListVolumesResult extends Object implements Serializable
A JSON object containing the following fields:
Constructor and Description |
---|
ListVolumesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
String |
getMarker()
Use the marker in your next request to continue pagination of iSCSI
volumes.
|
List<VolumeInfo> |
getVolumeInfos()
An array of VolumeInfo objects, where each object describes an
iSCSI volume.
|
int |
hashCode() |
void |
setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
void |
setMarker(String marker)
Use the marker in your next request to continue pagination of iSCSI
volumes.
|
void |
setVolumeInfos(Collection<VolumeInfo> volumeInfos)
An array of VolumeInfo objects, where each object describes an
iSCSI volume.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListVolumesResult |
withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
ListVolumesResult |
withMarker(String marker)
Use the marker in your next request to continue pagination of iSCSI
volumes.
|
ListVolumesResult |
withVolumeInfos(Collection<VolumeInfo> volumeInfos)
An array of VolumeInfo objects, where each object describes an
iSCSI volume.
|
ListVolumesResult |
withVolumeInfos(VolumeInfo... volumeInfos)
An array of VolumeInfo objects, where each object describes an
iSCSI volume.
|
public String getGatewayARN()
Constraints:
Length: 50 - 500
public void setGatewayARN(String gatewayARN)
Constraints:
Length: 50 - 500
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.public ListVolumesResult withGatewayARN(String gatewayARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.public String getMarker()
Constraints:
Length: 1 - 1000
public void setMarker(String marker)
Constraints:
Length: 1 - 1000
marker
- Use the marker in your next request to continue pagination of iSCSI
volumes. If there are no more volumes to list, this field does not
appear in the response body.public ListVolumesResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1000
marker
- Use the marker in your next request to continue pagination of iSCSI
volumes. If there are no more volumes to list, this field does not
appear in the response body.public List<VolumeInfo> getVolumeInfos()
VolumeInfos
is an empty array "[]".VolumeInfos
is an empty array "[]".public void setVolumeInfos(Collection<VolumeInfo> volumeInfos)
VolumeInfos
is an empty array "[]".volumeInfos
- An array of VolumeInfo objects, where each object describes an
iSCSI volume. If no volumes are defined for the gateway, then
VolumeInfos
is an empty array "[]".public ListVolumesResult withVolumeInfos(VolumeInfo... volumeInfos)
VolumeInfos
is an empty array "[]".
Returns a reference to this object so that method calls can be chained together.
volumeInfos
- An array of VolumeInfo objects, where each object describes an
iSCSI volume. If no volumes are defined for the gateway, then
VolumeInfos
is an empty array "[]".public ListVolumesResult withVolumeInfos(Collection<VolumeInfo> volumeInfos)
VolumeInfos
is an empty array "[]".
Returns a reference to this object so that method calls can be chained together.
volumeInfos
- An array of VolumeInfo objects, where each object describes an
iSCSI volume. If no volumes are defined for the gateway, then
VolumeInfos
is an empty array "[]".public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.