@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<GatewaySummary> |
getGateways()
The gateways in the list.
|
String |
getNextToken()
The token used to paginate though multiple pages of gateway summaries.
|
int |
hashCode() |
void |
setGateways(Collection<GatewaySummary> gateways)
The gateways in the list.
|
void |
setNextToken(String nextToken)
The token used to paginate though multiple pages of gateway summaries.
|
String |
toString()
Returns a string representation of this object.
|
ListGatewaysResult |
withGateways(Collection<GatewaySummary> gateways)
The gateways in the list.
|
ListGatewaysResult |
withGateways(GatewaySummary... gateways)
The gateways in the list.
|
ListGatewaysResult |
withNextToken(String nextToken)
The token used to paginate though multiple pages of gateway summaries.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<GatewaySummary> getGateways()
The gateways in the list.
public void setGateways(Collection<GatewaySummary> gateways)
The gateways in the list.
gateways
- The gateways in the list.public ListGatewaysResult withGateways(GatewaySummary... gateways)
The gateways in the list.
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
- The gateways in the list.public ListGatewaysResult withGateways(Collection<GatewaySummary> gateways)
The gateways in the list.
gateways
- The gateways in the list.public void setNextToken(String nextToken)
The token used to paginate though multiple pages of gateway summaries.
nextToken
- The token used to paginate though multiple pages of gateway summaries.public String getNextToken()
The token used to paginate though multiple pages of gateway summaries.
public ListGatewaysResult withNextToken(String nextToken)
The token used to paginate though multiple pages of gateway summaries.
nextToken
- The token used to paginate though multiple pages of gateway summaries.public String toString()
toString
in class Object
Object.toString()
public ListGatewaysResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.