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 TypeMethodDescriptionThenextTokenvalue to include in a futureListVirtualServicesrequest.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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The
nextTokenvalue to include in a futureListVirtualServicesrequest. When the results of aListVirtualServicesrequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListVirtualServicesrequest. When the results of aListVirtualServicesrequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen 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.Builderavoiding the need to create one manually viaVirtualServiceRef.builder().When the
Consumercompletes,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:
-