Interface OrderSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OrderSummary.Builder,OrderSummary>,SdkBuilder<OrderSummary.Builder,OrderSummary>,SdkPojo
- Enclosing class:
- OrderSummary
public static interface OrderSummary.Builder extends SdkPojo, CopyableBuilder<OrderSummary.Builder,OrderSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OrderSummary.BuilderlineItemCountsByStatus(Map<LineItemStatus,Integer> lineItemCountsByStatus)The status of all line items in the order.OrderSummary.BuilderlineItemCountsByStatusWithStrings(Map<String,Integer> lineItemCountsByStatus)The status of all line items in the order.OrderSummary.BuilderorderFulfilledDate(Instant orderFulfilledDate)The fulfilment date for the order.OrderSummary.BuilderorderId(String orderId)The ID of the order.OrderSummary.BuilderorderSubmissionDate(Instant orderSubmissionDate)The submission date for the order.OrderSummary.BuilderorderType(String orderType)The type of order.OrderSummary.BuilderorderType(OrderType orderType)The type of order.OrderSummary.BuilderoutpostId(String outpostId)The ID of the Outpost.OrderSummary.Builderstatus(String status)The status of the order.OrderSummary.Builderstatus(OrderStatus status)The status of the order.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
outpostId
OrderSummary.Builder outpostId(String outpostId)
The ID of the Outpost.
- Parameters:
outpostId- The ID of the Outpost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderId
OrderSummary.Builder orderId(String orderId)
The 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.
-
orderType
OrderSummary.Builder orderType(String orderType)
The type of order.
-
orderType
OrderSummary.Builder orderType(OrderType orderType)
The type of order.
-
status
OrderSummary.Builder status(String status)
The status of the order.
-
PREPARING- Order is received and is being prepared. -
IN_PROGRESS- Order is either being built, shipped, or installed. For more information, see theLineItemstatus. -
COMPLETED- Order is complete. -
CANCELLED- Order is cancelled. -
ERROR- Customer should contact support.
The following statuses are deprecated:
RECEIVED,PENDING,PROCESSING,INSTALLING, andFULFILLED.- Parameters:
status- The status of the order.-
PREPARING- Order is received and is being prepared. -
IN_PROGRESS- Order is either being built, shipped, or installed. For more information, see theLineItemstatus. -
COMPLETED- Order is complete. -
CANCELLED- Order is cancelled. -
ERROR- Customer should contact support.
The following statuses are deprecated:
RECEIVED,PENDING,PROCESSING,INSTALLING, andFULFILLED.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OrderStatus,OrderStatus
-
-
status
OrderSummary.Builder status(OrderStatus status)
The status of the order.
-
PREPARING- Order is received and is being prepared. -
IN_PROGRESS- Order is either being built, shipped, or installed. For more information, see theLineItemstatus. -
COMPLETED- Order is complete. -
CANCELLED- Order is cancelled. -
ERROR- Customer should contact support.
The following statuses are deprecated:
RECEIVED,PENDING,PROCESSING,INSTALLING, andFULFILLED.- Parameters:
status- The status of the order.-
PREPARING- Order is received and is being prepared. -
IN_PROGRESS- Order is either being built, shipped, or installed. For more information, see theLineItemstatus. -
COMPLETED- Order is complete. -
CANCELLED- Order is cancelled. -
ERROR- Customer should contact support.
The following statuses are deprecated:
RECEIVED,PENDING,PROCESSING,INSTALLING, andFULFILLED.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OrderStatus,OrderStatus
-
-
lineItemCountsByStatusWithStrings
OrderSummary.Builder lineItemCountsByStatusWithStrings(Map<String,Integer> lineItemCountsByStatus)
The status of all line items in the order.
- Parameters:
lineItemCountsByStatus- The status of all line items in the order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineItemCountsByStatus
OrderSummary.Builder lineItemCountsByStatus(Map<LineItemStatus,Integer> lineItemCountsByStatus)
The status of all line items in the order.
- Parameters:
lineItemCountsByStatus- The status of all line items in the order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderSubmissionDate
OrderSummary.Builder orderSubmissionDate(Instant orderSubmissionDate)
The 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.
-
orderFulfilledDate
OrderSummary.Builder orderFulfilledDate(Instant orderFulfilledDate)
The fulfilment date for the order.
- Parameters:
orderFulfilledDate- The fulfilment date for the order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-