@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRoutesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListRoutesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListRoutesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The
nextToken value to include in a future ListRoutes request. |
List<RouteRef> |
getRoutes()
The list of existing routes for the specified service mesh and virtual router.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The
nextToken value to include in a future ListRoutes request. |
void |
setRoutes(Collection<RouteRef> routes)
The list of existing routes for the specified service mesh and virtual router.
|
String |
toString()
Returns a string representation of this object.
|
ListRoutesResult |
withNextToken(String nextToken)
The
nextToken value to include in a future ListRoutes request. |
ListRoutesResult |
withRoutes(Collection<RouteRef> routes)
The list of existing routes for the specified service mesh and virtual router.
|
ListRoutesResult |
withRoutes(RouteRef... routes)
The list of existing routes for the specified service mesh and virtual router.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
The nextToken value to include in a future ListRoutes request. When the results of a
ListRoutes request exceed limit, you can use this value to retrieve the next page of
results. This value is null when there are no more results to return.
nextToken - The nextToken value to include in a future ListRoutes request. When the results
of a ListRoutes request exceed limit, you can use this value to retrieve the
next page of results. This value is null when there are no more results to return.public String getNextToken()
The nextToken value to include in a future ListRoutes request. When the results of a
ListRoutes request exceed limit, you can use this value to retrieve the next page of
results. This value is null when there are no more results to return.
nextToken value to include in a future ListRoutes request. When the results
of a ListRoutes request exceed limit, you can use this value to retrieve the
next page of results. This value is null when there are no more results to return.public ListRoutesResult withNextToken(String nextToken)
The nextToken value to include in a future ListRoutes request. When the results of a
ListRoutes request exceed limit, you can use this value to retrieve the next page of
results. This value is null when there are no more results to return.
nextToken - The nextToken value to include in a future ListRoutes request. When the results
of a ListRoutes request exceed limit, you can use this value to retrieve the
next page of results. This value is null when there are no more results to return.public List<RouteRef> getRoutes()
The list of existing routes for the specified service mesh and virtual router.
public void setRoutes(Collection<RouteRef> routes)
The list of existing routes for the specified service mesh and virtual router.
routes - The list of existing routes for the specified service mesh and virtual router.public ListRoutesResult withRoutes(RouteRef... routes)
The list of existing routes for the specified service mesh and virtual router.
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 - The list of existing routes for the specified service mesh and virtual router.public ListRoutesResult withRoutes(Collection<RouteRef> routes)
The list of existing routes for the specified service mesh and virtual router.
routes - The list of existing routes for the specified service mesh and virtual router.public String toString()
toString in class ObjectObject.toString()public ListRoutesResult clone()