Interface GetOfferTermsResponse.Builder

  • Method Details

    • offerTerms

      The terms attached to the offer. Each element contains exactly one term type.

      Parameters:
      offerTerms - The terms attached to the offer. Each element contains exactly one term type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offerTerms

      GetOfferTermsResponse.Builder offerTerms(OfferTerm... offerTerms)

      The terms attached to the offer. Each element contains exactly one term type.

      Parameters:
      offerTerms - The terms attached to the offer. Each element contains exactly one term type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offerTerms

      The terms attached to the offer. Each element contains exactly one term type.

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

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

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

      GetOfferTermsResponse.Builder nextToken(String nextToken)

      If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page.

      Parameters:
      nextToken - If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.