@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGatewayRoutesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListGatewayRoutesResult() |
Modifier and Type | Method and Description |
---|---|
ListGatewayRoutesResult |
clone() |
boolean |
equals(Object obj) |
List<GatewayRouteRef> |
getGatewayRoutes()
The list of existing gateway routes for the specified service mesh and virtual gateway.
|
String |
getNextToken()
The
nextToken value to include in a future ListGatewayRoutes request. |
int |
hashCode() |
void |
setGatewayRoutes(Collection<GatewayRouteRef> gatewayRoutes)
The list of existing gateway routes for the specified service mesh and virtual gateway.
|
void |
setNextToken(String nextToken)
The
nextToken value to include in a future ListGatewayRoutes request. |
String |
toString()
Returns a string representation of this object.
|
ListGatewayRoutesResult |
withGatewayRoutes(Collection<GatewayRouteRef> gatewayRoutes)
The list of existing gateway routes for the specified service mesh and virtual gateway.
|
ListGatewayRoutesResult |
withGatewayRoutes(GatewayRouteRef... gatewayRoutes)
The list of existing gateway routes for the specified service mesh and virtual gateway.
|
ListGatewayRoutesResult |
withNextToken(String nextToken)
The
nextToken value to include in a future ListGatewayRoutes request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<GatewayRouteRef> getGatewayRoutes()
The list of existing gateway routes for the specified service mesh and virtual gateway.
public void setGatewayRoutes(Collection<GatewayRouteRef> gatewayRoutes)
The list of existing gateway routes for the specified service mesh and virtual gateway.
gatewayRoutes
- The list of existing gateway routes for the specified service mesh and virtual gateway.public ListGatewayRoutesResult withGatewayRoutes(GatewayRouteRef... gatewayRoutes)
The list of existing gateway routes for the specified service mesh and virtual gateway.
NOTE: This method appends the values to the existing list (if any). Use
setGatewayRoutes(java.util.Collection)
or withGatewayRoutes(java.util.Collection)
if you want
to override the existing values.
gatewayRoutes
- The list of existing gateway routes for the specified service mesh and virtual gateway.public ListGatewayRoutesResult withGatewayRoutes(Collection<GatewayRouteRef> gatewayRoutes)
The list of existing gateway routes for the specified service mesh and virtual gateway.
gatewayRoutes
- The list of existing gateway routes for the specified service mesh and virtual gateway.public void setNextToken(String nextToken)
The nextToken
value to include in a future ListGatewayRoutes
request. When the results
of a ListGatewayRoutes
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 ListGatewayRoutes
request. When the
results of a ListGatewayRoutes
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 ListGatewayRoutes
request. When the results
of a ListGatewayRoutes
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 ListGatewayRoutes
request. When the
results of a ListGatewayRoutes
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 ListGatewayRoutesResult withNextToken(String nextToken)
The nextToken
value to include in a future ListGatewayRoutes
request. When the results
of a ListGatewayRoutes
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 ListGatewayRoutes
request. When the
results of a ListGatewayRoutes
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 toString()
toString
in class Object
Object.toString()
public ListGatewayRoutesResult clone()