Interface ListVirtualGatewaysResponse.Builder

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

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

    • nextToken

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

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

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

      ListVirtualGatewaysResponse.Builder virtualGateways(VirtualGatewayRef... virtualGateways)

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

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

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

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

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

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