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