Interface Order.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Order.Builder,
,Order> SdkBuilder<Order.Builder,
,Order> SdkPojo
- Enclosing class:
Order
-
Method Summary
Modifier and TypeMethodDescriptionacknowledgmentStatus
(String acknowledgmentStatus) The acknowledgement status of the order.acknowledgmentStatus
(AcknowledgmentStatus acknowledgmentStatus) The acknowledgement status of the order.The creation time of the order.networkArn
(String networkArn) The Amazon Resource Name (ARN) of the network associated with this order.networkSiteArn
(String networkSiteArn) The Amazon Resource Name (ARN) of the network site associated with this order.The Amazon Resource Name (ARN) of the order.orderedResources
(Collection<OrderedResourceDefinition> orderedResources) A list of the network resources placed in the order.orderedResources
(Consumer<OrderedResourceDefinition.Builder>... orderedResources) A list of the network resources placed in the order.orderedResources
(OrderedResourceDefinition... orderedResources) A list of the network resources placed in the order.default Order.Builder
shippingAddress
(Consumer<Address.Builder> shippingAddress) The shipping address of the order.shippingAddress
(Address shippingAddress) The shipping address of the order.trackingInformation
(Collection<TrackingInformation> trackingInformation) The tracking information of the order.trackingInformation
(Consumer<TrackingInformation.Builder>... trackingInformation) The tracking information of the order.trackingInformation
(TrackingInformation... trackingInformation) The tracking information 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 Details
-
acknowledgmentStatus
The acknowledgement status of the order.
- Parameters:
acknowledgmentStatus
- The acknowledgement status of the order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
acknowledgmentStatus
The acknowledgement status of the order.
- Parameters:
acknowledgmentStatus
- The acknowledgement status of the order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The creation time of the order.
- Parameters:
createdAt
- The creation time of the order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkArn
The Amazon Resource Name (ARN) of the network associated with this order.
- Parameters:
networkArn
- The Amazon Resource Name (ARN) of the network associated with this order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkSiteArn
The Amazon Resource Name (ARN) of the network site associated with this order.
- Parameters:
networkSiteArn
- The Amazon Resource Name (ARN) of the network site associated with this order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderArn
The Amazon Resource Name (ARN) of the order.
- Parameters:
orderArn
- The Amazon Resource Name (ARN) of the order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderedResources
A list of the network resources placed in the order.
- Parameters:
orderedResources
- A list of the network resources placed in the order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderedResources
A list of the network resources placed in the order.
- Parameters:
orderedResources
- A list of the network resources placed in the order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderedResources
A list of the network resources placed in the order.
This is a convenience method that creates an instance of theOrderedResourceDefinition.Builder
avoiding the need to create one manually viaOrderedResourceDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorderedResources(List<OrderedResourceDefinition>)
.- Parameters:
orderedResources
- a consumer that will call methods onOrderedResourceDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
shippingAddress
The shipping address of the order.
- Parameters:
shippingAddress
- The shipping address of the order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shippingAddress
The shipping address of the order.
This is a convenience method that creates an instance of theAddress.Builder
avoiding the need to create one manually viaAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toshippingAddress(Address)
.- Parameters:
shippingAddress
- a consumer that will call methods onAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trackingInformation
The tracking information of the order.
- Parameters:
trackingInformation
- The tracking information of the order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trackingInformation
The tracking information of the order.
- Parameters:
trackingInformation
- The tracking information of the order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trackingInformation
The tracking information of the order.
This is a convenience method that creates an instance of theTrackingInformation.Builder
avoiding the need to create one manually viaTrackingInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrackingInformation(List<TrackingInformation>)
.- Parameters:
trackingInformation
- a consumer that will call methods onTrackingInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-