Interface ListVirtualRoutersResponse.Builder

All Superinterfaces:
AppMeshResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<ListVirtualRoutersResponse.Builder,ListVirtualRoutersResponse>, SdkBuilder<ListVirtualRoutersResponse.Builder,ListVirtualRoutersResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListVirtualRoutersResponse

public static interface ListVirtualRoutersResponse.Builder extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<ListVirtualRoutersResponse.Builder,ListVirtualRoutersResponse>
  • Method Details

    • nextToken

      The nextToken value to include in a future ListVirtualRouters request. When the results of a ListVirtualRouters 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 ListVirtualRouters request. When the results of a ListVirtualRouters 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.
    • virtualRouters

      The list of existing virtual routers for the specified service mesh.

      Parameters:
      virtualRouters - The list of existing virtual routers for the specified service mesh.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • virtualRouters

      ListVirtualRoutersResponse.Builder virtualRouters(VirtualRouterRef... virtualRouters)

      The list of existing virtual routers for the specified service mesh.

      Parameters:
      virtualRouters - The list of existing virtual routers for the specified service mesh.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • virtualRouters

      The list of existing virtual routers for the specified service mesh.

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

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

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