public class ListGatewaysRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
ListGatewaysRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getMarker()
Constraints:
Length: 1 - 1000
public void setMarker(String marker)
Constraints:
Length: 1 - 1000
marker
- An opaque string that indicates the position at which to begin the
returned list of gateways.public ListGatewaysRequest withMarker(String marker)
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.public Integer getLimit()
Constraints:
Range: 1 -
public void setLimit(Integer limit)
Constraints:
Range: 1 -
limit
- Specifies that the list of gateways returned be limited to the
specified number of items.public ListGatewaysRequest withLimit(Integer limit)
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.