@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<Gateway> |
getGateways()
A list of your gateways.
|
String |
getNextToken()
The next item following a partial list of returned resources.
|
int |
hashCode() |
void |
setGateways(Collection<Gateway> gateways)
A list of your gateways.
|
void |
setNextToken(String nextToken)
The next item following a partial list of returned resources.
|
String |
toString()
Returns a string representation of this object.
|
ListGatewaysResult |
withGateways(Collection<Gateway> gateways)
A list of your gateways.
|
ListGatewaysResult |
withGateways(Gateway... gateways)
A list of your gateways.
|
ListGatewaysResult |
withNextToken(String nextToken)
The next item following a partial list of returned resources.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Gateway> getGateways()
A list of your gateways.
public void setGateways(Collection<Gateway> gateways)
A list of your gateways.
gateways - A list of your gateways.public ListGatewaysResult withGateways(Gateway... gateways)
A list of your gateways.
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 - A list of your gateways.public ListGatewaysResult withGateways(Collection<Gateway> gateways)
A list of your gateways.
gateways - A list of your gateways.public void setNextToken(String nextToken)
The next item following a partial list of returned resources. For example, if a request is made to return
maxResults number of resources, NextToken allows you to return more items in your list
starting at the location pointed to by the next token.
nextToken - The next item following a partial list of returned resources. For example, if a request is made to return
maxResults number of resources, NextToken allows you to return more items in
your list starting at the location pointed to by the next token.public String getNextToken()
The next item following a partial list of returned resources. For example, if a request is made to return
maxResults number of resources, NextToken allows you to return more items in your list
starting at the location pointed to by the next token.
maxResults number of resources, NextToken allows you to return more items in
your list starting at the location pointed to by the next token.public ListGatewaysResult withNextToken(String nextToken)
The next item following a partial list of returned resources. For example, if a request is made to return
maxResults number of resources, NextToken allows you to return more items in your list
starting at the location pointed to by the next token.
nextToken - The next item following a partial list of returned resources. For example, if a request is made to return
maxResults number of resources, NextToken allows you to return more items in
your list starting at the location pointed to by the next token.public String toString()
toString in class ObjectObject.toString()public ListGatewaysResult clone()