public class ListVolumesRequest extends AmazonWebServiceRequest implements Serializable
ListVolumes operation
.
This operation lists the iSCSI stored volumes of a gateway. Results are sorted by volume ARN. The response includes only the volume ARNs. If you want additional volume information, use the DescribeStorediSCSIVolumes API.
The operation supports pagination. By default, the operation returns a
maximum of up to 100 volumes. You can optionally specify the
Limit
field in the body to limit the number of volumes in
the response. If the number of volumes returned in the response is
truncated, the response includes a Marker field. You can use this
Marker value in your subsequent request to retrieve the next set of
volumes.
NOOP
Constructor and Description |
---|
ListVolumesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
Integer |
getLimit()
Specifies that the list of volumes returned be limited to the
specified number of items.
|
String |
getMarker()
A string that indicates the position at which to begin the returned
list of volumes.
|
int |
hashCode() |
void |
setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
void |
setLimit(Integer limit)
Specifies that the list of volumes returned be limited to the
specified number of items.
|
void |
setMarker(String marker)
A string that indicates the position at which to begin the returned
list of volumes.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListVolumesRequest |
withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
ListVolumesRequest |
withLimit(Integer limit)
Specifies that the list of volumes returned be limited to the
specified number of items.
|
ListVolumesRequest |
withMarker(String marker)
A string that indicates the position at which to begin the returned
list of volumes.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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 ListVolumesRequest 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
- A string that indicates the position at which to begin the returned
list of volumes. Obtain the marker from the response of a previous
List iSCSI Volumes request.public ListVolumesRequest withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1000
marker
- A string that indicates the position at which to begin the returned
list of volumes. Obtain the marker from the response of a previous
List iSCSI Volumes request.public Integer getLimit()
Constraints:
Range: 1 -
public void setLimit(Integer limit)
Constraints:
Range: 1 -
limit
- Specifies that the list of volumes returned be limited to the
specified number of items.public ListVolumesRequest withLimit(Integer limit)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
limit
- Specifies that the list of volumes returned be limited to the
specified number of items.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.