@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGatewaysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
ListGatewaysResult |
clone() |
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.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<GatewayInfo> getGateways()
An array of GatewayInfo objects.
public void setGateways(Collection<GatewayInfo> gateways)
An array of GatewayInfo objects.
gateways
- An array of GatewayInfo objects.public ListGatewaysResult withGateways(GatewayInfo... gateways)
An array of GatewayInfo objects.
NOTE: This method appends the values to the existing list (if any). Use
setGateways(java.util.Collection)
or withGateways(java.util.Collection)
if you want to override
the existing values.
gateways
- An array of GatewayInfo objects.public ListGatewaysResult withGateways(Collection<GatewayInfo> gateways)
An array of GatewayInfo objects.
gateways
- An array of GatewayInfo objects.public void setMarker(String 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.
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 getMarker()
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)
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.
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()
public ListGatewaysResult clone()