Interface ListVirtualServicesResponse.Builder
- All Superinterfaces:
AppMeshResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListVirtualServicesResponse.Builder,
,ListVirtualServicesResponse> SdkBuilder<ListVirtualServicesResponse.Builder,
,ListVirtualServicesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListVirtualServicesResponse
public static interface ListVirtualServicesResponse.Builder
extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<ListVirtualServicesResponse.Builder,ListVirtualServicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThenextToken
value to include in a futureListVirtualServices
request.virtualServices
(Collection<VirtualServiceRef> virtualServices) The list of existing virtual services for the specified service mesh.virtualServices
(Consumer<VirtualServiceRef.Builder>... virtualServices) The list of existing virtual services for the specified service mesh.virtualServices
(VirtualServiceRef... virtualServices) The list of existing virtual services for the specified service mesh.Methods inherited from interface software.amazon.awssdk.services.appmesh.model.AppMeshResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The
nextToken
value to include in a futureListVirtualServices
request. When the results of aListVirtualServices
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListVirtualServices
request. When the results of aListVirtualServices
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualServices
The list of existing virtual services for the specified service mesh.
- Parameters:
virtualServices
- The list of existing virtual services for the specified service mesh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualServices
The list of existing virtual services for the specified service mesh.
- Parameters:
virtualServices
- The list of existing virtual services for the specified service mesh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualServices
ListVirtualServicesResponse.Builder virtualServices(Consumer<VirtualServiceRef.Builder>... virtualServices) The list of existing virtual services for the specified service mesh.
This is a convenience method that creates an instance of theVirtualServiceRef.Builder
avoiding the need to create one manually viaVirtualServiceRef.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovirtualServices(List<VirtualServiceRef>)
.- Parameters:
virtualServices
- a consumer that will call methods onVirtualServiceRef.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-