public class ListVolumesRequest extends AmazonWebServiceRequest implements java.io.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.
| コンストラクタと説明 |
|---|
ListVolumesRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic 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 クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object