|
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)
,
Serialized FormConstructor Summary | |
---|---|
ListVolumesRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway. |
java.lang.Integer |
getLimit()
Specifies that the list of volumes returned be limited to the specified number of items. |
java.lang.String |
getMarker()
A string that indicates the position at which to begin the returned list of volumes. |
int |
hashCode()
|
void |
setGatewayARN(java.lang.String gatewayARN)
The Amazon Resource Name (ARN) of the gateway. |
void |
setLimit(java.lang.Integer limit)
Specifies that the list of volumes returned be limited to the specified number of items. |
void |
setMarker(java.lang.String marker)
A string that indicates the position at which to begin the returned list of volumes. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ListVolumesRequest |
withGatewayARN(java.lang.String gatewayARN)
The Amazon Resource Name (ARN) of the gateway. |
ListVolumesRequest |
withLimit(java.lang.Integer limit)
Specifies that the list of volumes returned be limited to the specified number of items. |
ListVolumesRequest |
withMarker(java.lang.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 java.lang.String getGatewayARN()
Constraints:
Length: 50 - 500
public void setGatewayARN(java.lang.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(java.lang.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 java.lang.String getMarker()
Constraints:
Length: 1 - 1000
public void setMarker(java.lang.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(java.lang.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 java.lang.Integer getLimit()
Constraints:
Range: 1 -
public void setLimit(java.lang.Integer limit)
Constraints:
Range: 1 -
limit
- Specifies that the list of volumes returned be limited to the
specified number of items.public ListVolumesRequest withLimit(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |