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