Class ListVolumesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.storagegateway.model.ListVolumesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListVolumesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A JSON object that contains one or more of the following fields:
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListVolumesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListVolumesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetGatewayARN()IntegergetLimit()Specifies that the list of volumes returned be limited to the specified number of items.StringgetMarker()A string that indicates the position at which to begin the returned list of volumes.inthashCode()voidsetGatewayARN(String gatewayARN)voidsetLimit(Integer limit)Specifies that the list of volumes returned be limited to the specified number of items.voidsetMarker(String marker)A string that indicates the position at which to begin the returned list of volumes.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListVolumesRequestwithGatewayARN(String gatewayARN)ListVolumesRequestwithLimit(Integer limit)Specifies that the list of volumes returned be limited to the specified number of items.ListVolumesRequestwithMarker(String marker)A string that indicates the position at which to begin the returned list of volumes.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setGatewayARN
public void setGatewayARN(String gatewayARN)
- Parameters:
gatewayARN-
-
getGatewayARN
public String getGatewayARN()
- Returns:
-
withGatewayARN
public ListVolumesRequest withGatewayARN(String gatewayARN)
- Parameters:
gatewayARN-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
public void setMarker(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.
- Parameters:
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.
-
getMarker
public 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.
- Returns:
- 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.
-
withMarker
public ListVolumesRequest withMarker(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
public void setLimit(Integer limit)
Specifies that the list of volumes returned be limited to the specified number of items.
- Parameters:
limit- Specifies that the list of volumes returned be limited to the specified number of items.
-
getLimit
public Integer getLimit()
Specifies that the list of volumes returned be limited to the specified number of items.
- Returns:
- Specifies that the list of volumes returned be limited to the specified number of items.
-
withLimit
public ListVolumesRequest withLimit(Integer limit)
Specifies that the list of volumes returned be limited to the specified number of items.
- Parameters:
limit- Specifies that the list of volumes returned be limited to the specified number of items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListVolumesRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-