Interface QuoteSummary.Builder

  • Method Details

    • quoteId

      QuoteSummary.Builder quoteId(String quoteId)

      The ID of the quote.

      Parameters:
      quoteId - The ID of the quote.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      QuoteSummary.Builder accountId(String accountId)

      The ID of the account that owns the quote.

      Parameters:
      accountId - The ID of the account that owns the quote.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quoteStatus

      QuoteSummary.Builder quoteStatus(String quoteStatus)

      The status of the quote.

      Parameters:
      quoteStatus - The status of the quote.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • quoteStatus

      QuoteSummary.Builder quoteStatus(QuoteStatus quoteStatus)

      The status of the quote.

      Parameters:
      quoteStatus - The status of the quote.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      QuoteSummary.Builder statusMessage(String statusMessage)

      A message about the status of the quote.

      Parameters:
      statusMessage - A message about the status of the quote.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outpostArn

      QuoteSummary.Builder outpostArn(String outpostArn)

      The ARN of the Outpost associated with the quote.

      Parameters:
      outpostArn - The ARN of the Outpost associated with the quote.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • countryCode

      QuoteSummary.Builder countryCode(String countryCode)

      The country code for the Outpost site location.

      Parameters:
      countryCode - The country code for the Outpost site location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedCapacities

      QuoteSummary.Builder requestedCapacities(Collection<QuoteCapacity> requestedCapacities)

      The capacity requirements specified in the quote request.

      Parameters:
      requestedCapacities - The capacity requirements specified in the quote request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedCapacities

      QuoteSummary.Builder requestedCapacities(QuoteCapacity... requestedCapacities)

      The capacity requirements specified in the quote request.

      Parameters:
      requestedCapacities - The capacity requirements specified in the quote request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedCapacities

      QuoteSummary.Builder requestedCapacities(Consumer<QuoteCapacity.Builder>... requestedCapacities)

      The capacity requirements specified in the quote request.

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

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

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

      QuoteSummary.Builder requestedConstraints(Collection<QuoteConstraint> requestedConstraints)

      The physical constraints specified in the quote request.

      Parameters:
      requestedConstraints - The physical constraints specified in the quote request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedConstraints

      QuoteSummary.Builder requestedConstraints(QuoteConstraint... requestedConstraints)

      The physical constraints specified in the quote request.

      Parameters:
      requestedConstraints - The physical constraints specified in the quote request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedConstraints

      QuoteSummary.Builder requestedConstraints(Consumer<QuoteConstraint.Builder>... requestedConstraints)

      The physical constraints specified in the quote request.

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

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

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

      QuoteSummary.Builder requestedPaymentOptionsWithStrings(Collection<String> requestedPaymentOptions)

      The payment options specified in the quote request.

      Parameters:
      requestedPaymentOptions - The payment options specified in the quote request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedPaymentOptionsWithStrings

      QuoteSummary.Builder requestedPaymentOptionsWithStrings(String... requestedPaymentOptions)

      The payment options specified in the quote request.

      Parameters:
      requestedPaymentOptions - The payment options specified in the quote request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedPaymentOptions

      QuoteSummary.Builder requestedPaymentOptions(Collection<PaymentOption> requestedPaymentOptions)

      The payment options specified in the quote request.

      Parameters:
      requestedPaymentOptions - The payment options specified in the quote request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedPaymentOptions

      QuoteSummary.Builder requestedPaymentOptions(PaymentOption... requestedPaymentOptions)

      The payment options specified in the quote request.

      Parameters:
      requestedPaymentOptions - The payment options specified in the quote request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedPaymentTermsWithStrings

      QuoteSummary.Builder requestedPaymentTermsWithStrings(Collection<String> requestedPaymentTerms)

      The payment terms specified in the quote request.

      Parameters:
      requestedPaymentTerms - The payment terms specified in the quote request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedPaymentTermsWithStrings

      QuoteSummary.Builder requestedPaymentTermsWithStrings(String... requestedPaymentTerms)

      The payment terms specified in the quote request.

      Parameters:
      requestedPaymentTerms - The payment terms specified in the quote request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedPaymentTerms

      QuoteSummary.Builder requestedPaymentTerms(Collection<PaymentTerm> requestedPaymentTerms)

      The payment terms specified in the quote request.

      Parameters:
      requestedPaymentTerms - The payment terms specified in the quote request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedPaymentTerms

      QuoteSummary.Builder requestedPaymentTerms(PaymentTerm... requestedPaymentTerms)

      The payment terms specified in the quote request.

      Parameters:
      requestedPaymentTerms - The payment terms specified in the quote request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quoteOptions

      QuoteSummary.Builder quoteOptions(Collection<QuoteOption> quoteOptions)

      The configuration and pricing options for the quote.

      Parameters:
      quoteOptions - The configuration and pricing options for the quote.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quoteOptions

      QuoteSummary.Builder quoteOptions(QuoteOption... quoteOptions)

      The configuration and pricing options for the quote.

      Parameters:
      quoteOptions - The configuration and pricing options for the quote.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quoteOptions

      QuoteSummary.Builder quoteOptions(Consumer<QuoteOption.Builder>... quoteOptions)

      The configuration and pricing options for the quote.

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

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

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

      QuoteSummary.Builder submittedOrderId(String submittedOrderId)

      The ID of the order submitted for the quote.

      Parameters:
      submittedOrderId - The ID of the order submitted for the quote.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdDate

      QuoteSummary.Builder createdDate(Instant createdDate)

      The date the quote was created.

      Parameters:
      createdDate - The date the quote was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expirationDate

      QuoteSummary.Builder expirationDate(Instant expirationDate)

      The date the quote expires.

      Parameters:
      expirationDate - The date the quote expires.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      QuoteSummary.Builder description(String description)

      The description of the quote.

      Parameters:
      description - The description of the quote.
      Returns:
      Returns a reference to this object so that method calls can be chained together.