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 ListGatewaysRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Integer
getLimit()
Specifies that the list of gateways returned be limited to the specified number of items.String
getMarker()
An opaque string that indicates the position at which to begin the returned list of gateways.int
hashCode()
void
setLimit(Integer limit)
Specifies that the list of gateways returned be limited to the specified number of items.void
setMarker(String marker)
An opaque string that indicates the position at which to begin the returned list of gateways.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListGatewaysRequest
withLimit(Integer limit)
Specifies that the list of gateways returned be limited to the specified number of items.ListGatewaysRequest
withMarker(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListGatewaysRequest 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()
-
-