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