Interface ListOfferingsResponse.Builder

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

public static interface ListOfferingsResponse.Builder extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListOfferingsResponse.Builder,ListOfferingsResponse>
  • Method Details

    • offerings

      A value that represents the list offering results.

      Parameters:
      offerings - A value that represents the list offering results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offerings

      ListOfferingsResponse.Builder offerings(Offering... offerings)

      A value that represents the list offering results.

      Parameters:
      offerings - A value that represents the list offering results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offerings

      A value that represents the list offering results.

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

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

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

      ListOfferingsResponse.Builder nextToken(String nextToken)

      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

      Parameters:
      nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.