Interface ListRoutesResponse.Builder

  • Method Details

    • nextToken

      ListRoutesResponse.Builder nextToken(String nextToken)

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

      The list of existing routes for the specified service mesh and virtual router.

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

      The list of existing routes for the specified service mesh and virtual router.

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

      The list of existing routes for the specified service mesh and virtual router.

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

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

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