@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchLocalGatewayRoutesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchLocalGatewayRoutesResult() |
Modifier and Type | Method and Description |
---|---|
SearchLocalGatewayRoutesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<LocalGatewayRoute> |
getRoutes()
Information about the routes.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setRoutes(Collection<LocalGatewayRoute> routes)
Information about the routes.
|
String |
toString()
Returns a string representation of this object.
|
SearchLocalGatewayRoutesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
SearchLocalGatewayRoutesResult |
withRoutes(Collection<LocalGatewayRoute> routes)
Information about the routes.
|
SearchLocalGatewayRoutesResult |
withRoutes(LocalGatewayRoute... routes)
Information about the routes.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<LocalGatewayRoute> getRoutes()
Information about the routes.
public void setRoutes(Collection<LocalGatewayRoute> routes)
Information about the routes.
routes
- Information about the routes.public SearchLocalGatewayRoutesResult withRoutes(LocalGatewayRoute... routes)
Information about the routes.
NOTE: This method appends the values to the existing list (if any). Use
setRoutes(java.util.Collection)
or withRoutes(java.util.Collection)
if you want to override the
existing values.
routes
- Information about the routes.public SearchLocalGatewayRoutesResult withRoutes(Collection<LocalGatewayRoute> routes)
Information about the routes.
routes
- Information about the routes.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public SearchLocalGatewayRoutesResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public SearchLocalGatewayRoutesResult clone()