|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.storagegateway.model.ListGatewaysRequest
public class ListGatewaysRequest
Container for the parameters to the ListGateways operation.
This operation lists gateways owned by an AWS account in a region specified in the request. The returned list is ordered by gateway Amazon Resource Name (ARN).
By default, the operation returns a maximum of 100 gateways. This operation supports pagination that allows you to optionally reduce the number of gateways returned in a response.
If you have more gateways than are returned in a response-that is, the response returns only a truncated list of your gateways-the response contains a marker that you can specify in your next request to fetch the next page of gateways.
AWSStorageGateway.listGateways(ListGatewaysRequest)| Constructor Summary | |
|---|---|
ListGatewaysRequest()
|
|
| Method Summary | |
|---|---|
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 |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ListGatewaysRequest()
| Method Detail |
|---|
public String getMarker()
Valid Values: A marker obtained from the response of a previous List Gateways request.
Constraints:
Length: 1 - 1000
Valid Values: A marker obtained from the response of a previous List Gateways request.
public void setMarker(String marker)
Valid Values: A marker obtained from the response of a previous List Gateways request.
Constraints:
Length: 1 - 1000
marker - An opaque string that indicates the position at which to begin the
returned list of gateways. Valid Values: A marker obtained from the response of a previous List Gateways request.
public ListGatewaysRequest withMarker(String marker)
Valid Values: A marker obtained from the response of a previous List Gateways request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1000
marker - An opaque string that indicates the position at which to begin the
returned list of gateways. Valid Values: A marker obtained from the response of a previous List Gateways request.
public Integer getLimit()
Valid Values: a number from 1 to 100.
Constraints:
Range: 1 -
Valid Values: a number from 1 to 100.
public void setLimit(Integer limit)
Valid Values: a number from 1 to 100.
Constraints:
Range: 1 -
limit - Specifies that the list of gateways returned be limited to the
specified number of items. Valid Values: a number from 1 to 100.
public ListGatewaysRequest withLimit(Integer limit)
Valid Values: a number from 1 to 100.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
limit - Specifies that the list of gateways returned be limited to the
specified number of items. Valid Values: a number from 1 to 100.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||