Interface ListPickupLocationsResponse.Builder

  • Method Details

    • addresses

      Information about the address of pickup locations.

      Parameters:
      addresses - Information about the address of pickup locations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addresses

      Information about the address of pickup locations.

      Parameters:
      addresses - Information about the address of pickup locations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addresses

      Information about the address of pickup locations.

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

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

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

      HTTP requests are stateless. To identify what object comes "next" in the list of ListPickupLocationsResult objects, you have the option of specifying NextToken as the starting point for your returned list.

      Parameters:
      nextToken - HTTP requests are stateless. To identify what object comes "next" in the list of ListPickupLocationsResult objects, you have the option of specifying NextToken as the starting point for your returned list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.