public class ListGatewaysResult extends Object implements Serializable
A JSON object containing the following fields:
Constructor and Description |
---|
ListGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<GatewayInfo> |
getGateways()
An array of GatewayInfo objects.
|
String |
getMarker()
Use the marker in your next request to fetch the next set of gateways
in the list.
|
int |
hashCode() |
void |
setGateways(Collection<GatewayInfo> gateways)
An array of GatewayInfo objects.
|
void |
setMarker(String marker)
Use the marker in your next request to fetch the next set of gateways
in the list.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListGatewaysResult |
withGateways(Collection<GatewayInfo> gateways)
An array of GatewayInfo objects.
|
ListGatewaysResult |
withGateways(GatewayInfo... gateways)
An array of GatewayInfo objects.
|
ListGatewaysResult |
withMarker(String marker)
Use the marker in your next request to fetch the next set of gateways
in the list.
|
public List<GatewayInfo> getGateways()
public void setGateways(Collection<GatewayInfo> gateways)
gateways
- An array of GatewayInfo objects.public ListGatewaysResult withGateways(GatewayInfo... gateways)
Returns a reference to this object so that method calls can be chained together.
gateways
- An array of GatewayInfo objects.public ListGatewaysResult withGateways(Collection<GatewayInfo> gateways)
Returns a reference to this object so that method calls can be chained together.
gateways
- An array of GatewayInfo objects.public String getMarker()
Constraints:
Length: 1 - 1000
public void setMarker(String marker)
Constraints:
Length: 1 - 1000
marker
- Use the marker in your next request to fetch the next set of gateways
in the list. If there are no more gateways to list, this field does
not appear in the response.public ListGatewaysResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1000
marker
- Use the marker in your next request to fetch the next set of gateways
in the list. If there are no more gateways to list, this field does
not appear in the response.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.