Interface GetModelsResponse.Builder

  • Method Details

    • position

      GetModelsResponse.Builder position(String position)
      Sets the value of the Position property for this object.
      Parameters:
      position - The new value for the Position property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The current page of elements from this collection.

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

      The current page of elements from this collection.

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

      The current page of elements from this collection.

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

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

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