public class ListVolumesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
A JSON object that contains one or more of the following fields:
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
gatewayARN |
private java.lang.Integer |
limit
Specifies that the list of volumes returned be limited to the specified
number of items.
|
private java.lang.String |
marker
A string that indicates the position at which to begin the returned list
of volumes.
|
NOOP
Constructor and Description |
---|
ListVolumesRequest() |
Modifier and Type | Method and Description |
---|---|
ListVolumesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGatewayARN() |
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) |
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) |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String gatewayARN
private java.lang.String 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.
private java.lang.Integer limit
Specifies that the list of volumes returned be limited to the specified number of items.
public void setGatewayARN(java.lang.String gatewayARN)
gatewayARN
- public java.lang.String getGatewayARN()
public ListVolumesRequest withGatewayARN(java.lang.String gatewayARN)
gatewayARN
- public void setMarker(java.lang.String 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.
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.String getMarker()
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)
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.
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 void setLimit(java.lang.Integer limit)
Specifies that the list of volumes returned be limited to the specified number of items.
limit
- Specifies that the list of volumes returned be limited to the
specified number of items.public java.lang.Integer getLimit()
Specifies that the list of volumes returned be limited to the specified number of items.
public ListVolumesRequest withLimit(java.lang.Integer limit)
Specifies that the list of volumes returned be limited to the specified number of items.
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 boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListVolumesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()