|
Did this page help you?Yes No Tell us about it... |
||||||
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)
,
Serialized FormConstructor 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()
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |