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 ListVolumesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getGatewayARN()
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)
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)
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
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListVolumesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-