Interface Order.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Order.Builder,,- Order> - SdkBuilder<Order.Builder,,- Order> - SdkPojo
- Enclosing class:
- Order
- 
Method SummaryModifier and TypeMethodDescriptionlineItems(Collection<LineItem> lineItems) The line items for the orderlineItems(Consumer<LineItem.Builder>... lineItems) The line items for the orderThe line items for the orderorderFulfilledDate(Instant orderFulfilledDate) The fulfillment date of the order.The ID of the order.orderSubmissionDate(Instant orderSubmissionDate) The submission date for the order.The type of order.The type of order.The ID of the Outpost in the order.paymentOption(String paymentOption) The payment option for the order.paymentOption(PaymentOption paymentOption) The payment option for the order.paymentTerm(String paymentTerm) The payment term.paymentTerm(PaymentTerm paymentTerm) The payment term.The status of the order.status(OrderStatus status) The status of the order.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
outpostIdThe ID of the Outpost in the order. - Parameters:
- outpostId- The ID of the Outpost in the order.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
orderIdThe ID of the order. - Parameters:
- orderId- The ID of the order.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusThe status of the order. - 
 PREPARING- Order is received and being prepared.
- 
 IN_PROGRESS- Order is either being built or shipped. To get more details, see the line item status.
- 
 DELIVERED- Order was delivered to the Outpost site.
- 
 COMPLETED- Order is complete.
- 
 CANCELLED- Order is cancelled.
- 
 ERROR- Customer should contact support.
 The following status are deprecated: RECEIVED,PENDING,PROCESSING,INSTALLING, andFULFILLED.- Parameters:
- status- The status of the order.- 
        PREPARING- Order is received and being prepared.
- 
        IN_PROGRESS- Order is either being built or shipped. To get more details, see the line item status.
- 
        DELIVERED- Order was delivered to the Outpost site.
- 
        COMPLETED- Order is complete.
- 
        CANCELLED- Order is cancelled.
- 
        ERROR- Customer should contact support.
 - The following status are deprecated: - RECEIVED,- PENDING,- PROCESSING,- INSTALLING, and- FULFILLED.
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
statusThe status of the order. - 
 PREPARING- Order is received and being prepared.
- 
 IN_PROGRESS- Order is either being built or shipped. To get more details, see the line item status.
- 
 DELIVERED- Order was delivered to the Outpost site.
- 
 COMPLETED- Order is complete.
- 
 CANCELLED- Order is cancelled.
- 
 ERROR- Customer should contact support.
 The following status are deprecated: RECEIVED,PENDING,PROCESSING,INSTALLING, andFULFILLED.- Parameters:
- status- The status of the order.- 
        PREPARING- Order is received and being prepared.
- 
        IN_PROGRESS- Order is either being built or shipped. To get more details, see the line item status.
- 
        DELIVERED- Order was delivered to the Outpost site.
- 
        COMPLETED- Order is complete.
- 
        CANCELLED- Order is cancelled.
- 
        ERROR- Customer should contact support.
 - The following status are deprecated: - RECEIVED,- PENDING,- PROCESSING,- INSTALLING, and- FULFILLED.
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
lineItemsThe line items for the order - Parameters:
- lineItems- The line items for the order
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lineItemsThe line items for the order - Parameters:
- lineItems- The line items for the order
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lineItemsThe line items for the order This is a convenience method that creates an instance of theLineItem.Builderavoiding the need to create one manually viaLineItem.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolineItems(List<LineItem>).- Parameters:
- lineItems- a consumer that will call methods on- LineItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
paymentOptionThe payment option for the order. - Parameters:
- paymentOption- The payment option for the order.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
paymentOptionThe payment option for the order. - Parameters:
- paymentOption- The payment option for the order.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
orderSubmissionDateThe submission date for the order. - Parameters:
- orderSubmissionDate- The submission date for the order.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
orderFulfilledDateThe fulfillment date of the order. - Parameters:
- orderFulfilledDate- The fulfillment date of the order.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
paymentTermThe payment term. - Parameters:
- paymentTerm- The payment term.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
paymentTermThe payment term. - Parameters:
- paymentTerm- The payment term.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
orderTypeThe type of order. - Parameters:
- orderType- The type of order.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
orderTypeThe type of order. - Parameters:
- orderType- The type of order.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-