Class ListGatewaysRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.storagegateway.model.ListGatewaysRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListGatewaysRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A JSON object containing zero 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 ListGatewaysRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListGatewaysRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)IntegergetLimit()Specifies that the list of gateways returned be limited to the specified number of items.StringgetMarker()An opaque string that indicates the position at which to begin the returned list of gateways.inthashCode()voidsetLimit(Integer limit)Specifies that the list of gateways returned be limited to the specified number of items.voidsetMarker(String marker)An opaque string that indicates the position at which to begin the returned list of gateways.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListGatewaysRequestwithLimit(Integer limit)Specifies that the list of gateways returned be limited to the specified number of items.ListGatewaysRequestwithMarker(String marker)An opaque string that indicates the position at which to begin the returned list of gateways.-
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
-
setMarker
public void setMarker(String marker)
An opaque string that indicates the position at which to begin the returned list of gateways.
- Parameters:
marker- An opaque string that indicates the position at which to begin the returned list of gateways.
-
getMarker
public String getMarker()
An opaque string that indicates the position at which to begin the returned list of gateways.
- Returns:
- An opaque string that indicates the position at which to begin the returned list of gateways.
-
withMarker
public ListGatewaysRequest withMarker(String marker)
An opaque string that indicates the position at which to begin the returned list of gateways.
- Parameters:
marker- An opaque string that indicates the position at which to begin the returned list of gateways.- 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 gateways returned be limited to the specified number of items.
- Parameters:
limit- Specifies that the list of gateways returned be limited to the specified number of items.
-
getLimit
public Integer getLimit()
Specifies that the list of gateways returned be limited to the specified number of items.
- Returns:
- Specifies that the list of gateways returned be limited to the specified number of items.
-
withLimit
public ListGatewaysRequest withLimit(Integer limit)
Specifies that the list of gateways returned be limited to the specified number of items.
- Parameters:
limit- Specifies that the list of gateways 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 ListGatewaysRequest 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()
-
-