Interface Quote.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Quote.Builder,Quote>, SdkBuilder<Quote.Builder,Quote>, SdkPojo
Enclosing class:
Quote

@Mutable @NotThreadSafe public static interface Quote.Builder extends SdkPojo, CopyableBuilder<Quote.Builder,Quote>
  • Method Details

    • quoteId

      Quote.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

      Quote.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

      Quote.Builder quoteStatus(String quoteStatus)

      The status of the quote.

      • CREATED - The quote has been created and is available for review.

      • ORDER_SUBMITTED - An order has been submitted for the quote.

      • EXPIRED - The quote has expired and can no longer be used to submit an order.

      Parameters:
      quoteStatus - The status of the quote.

      • CREATED - The quote has been created and is available for review.

      • ORDER_SUBMITTED - An order has been submitted for the quote.

      • EXPIRED - The quote has expired and can no longer be used to submit an order.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • quoteStatus

      Quote.Builder quoteStatus(QuoteStatus quoteStatus)

      The status of the quote.

      • CREATED - The quote has been created and is available for review.

      • ORDER_SUBMITTED - An order has been submitted for the quote.

      • EXPIRED - The quote has expired and can no longer be used to submit an order.

      Parameters:
      quoteStatus - The status of the quote.

      • CREATED - The quote has been created and is available for review.

      • ORDER_SUBMITTED - An order has been submitted for the quote.

      • EXPIRED - The quote has expired and can no longer be used to submit an order.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      Quote.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

      Quote.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

      Quote.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

      Quote.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

      Quote.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

      Quote.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

      Quote.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

      Quote.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

      Quote.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

      Quote.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

      Quote.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

      Quote.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

      Quote.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

      Quote.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

      Quote.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

      Quote.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

      Quote.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

      Quote.Builder quoteOptions(Collection<QuoteOption> quoteOptions)

      The configuration and pricing options for the quote. Each option includes capacity details, physical specifications, and pricing information.

      Parameters:
      quoteOptions - The configuration and pricing options for the quote. Each option includes capacity details, physical specifications, and pricing information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quoteOptions

      Quote.Builder quoteOptions(QuoteOption... quoteOptions)

      The configuration and pricing options for the quote. Each option includes capacity details, physical specifications, and pricing information.

      Parameters:
      quoteOptions - The configuration and pricing options for the quote. Each option includes capacity details, physical specifications, and pricing information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quoteOptions

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

      The configuration and pricing options for the quote. Each option includes capacity details, physical specifications, and pricing information.

      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:
    • orderingRequirements

      Quote.Builder orderingRequirements(Collection<OrderingRequirement> orderingRequirements)

      The requirements that must be met before an order can be submitted for the quote.

      Parameters:
      orderingRequirements - The requirements that must be met before an order can be submitted for the quote.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • orderingRequirements

      Quote.Builder orderingRequirements(OrderingRequirement... orderingRequirements)

      The requirements that must be met before an order can be submitted for the quote.

      Parameters:
      orderingRequirements - The requirements that must be met before an order can be submitted for the quote.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • orderingRequirements

      Quote.Builder orderingRequirements(Consumer<OrderingRequirement.Builder>... orderingRequirements)

      The requirements that must be met before an order can be submitted for the quote.

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

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

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

      Quote.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

      Quote.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

      Quote.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

      Quote.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.