|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.storagegateway.model.ListVolumesRequest
public class ListVolumesRequest
Container for the parameters to the 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.
AWSStorageGateway.listVolumes(ListVolumesRequest)
Constructor Summary | |
---|---|
ListVolumesRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ListVolumesRequest()
Method Detail |
---|
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()
Constraint: Minimum value of 1. Maximum value of 100.
Constraints:
Range: 1 -
Constraint: Minimum value of 1. Maximum value of 100.
public void setLimit(Integer limit)
Constraint: Minimum value of 1. Maximum value of 100.
Constraints:
Range: 1 -
limit
- Specifies that the list of volumes returned be limited to the
specified number of items. Constraint: Minimum value of 1. Maximum value of 100.
public ListVolumesRequest withLimit(Integer limit)
Constraint: Minimum value of 1. Maximum value of 100.
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. Constraint: Minimum value of 1. Maximum value of 100.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |