Interface GetRoutesResponse.Builder

  • Method Details

    • items

      The elements from this collection.

      Parameters:
      items - The elements from this collection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The elements from this collection.

      Parameters:
      items - The elements from this collection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The elements from this collection.

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

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

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

      GetRoutesResponse.Builder nextToken(String nextToken)

      The next page of elements from this collection. Not valid for the last element of the collection.

      Parameters:
      nextToken - The next page of elements from this collection. Not valid for the last element of the collection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.