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 Details

    • 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.

      Parameters:
      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.
      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(VirtualServiceRef... 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.

      This is a convenience method that creates an instance of the VirtualServiceRef.Builder avoiding the need to create one manually via VirtualServiceRef.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to virtualServices(List<VirtualServiceRef>).

      Parameters:
      virtualServices - a consumer that will call methods on VirtualServiceRef.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: