Interface Order.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Order.Builder,Order>,SdkBuilder<Order.Builder,Order>,SdkPojo
- Enclosing class:
- Order
public static interface Order.Builder extends SdkPojo, CopyableBuilder<Order.Builder,Order>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Order.BuilderacknowledgmentStatus(String acknowledgmentStatus)The acknowledgement status of the order.Order.BuilderacknowledgmentStatus(AcknowledgmentStatus acknowledgmentStatus)The acknowledgement status of the order.Order.BuildercreatedAt(Instant createdAt)The creation time of the order.Order.BuildernetworkArn(String networkArn)The Amazon Resource Name (ARN) of the network associated with this order.Order.BuildernetworkSiteArn(String networkSiteArn)The Amazon Resource Name (ARN) of the network site associated with this order.Order.BuilderorderArn(String orderArn)The Amazon Resource Name (ARN) of the order.Order.BuilderorderedResources(Collection<OrderedResourceDefinition> orderedResources)A list of the network resources placed in the order.Order.BuilderorderedResources(Consumer<OrderedResourceDefinition.Builder>... orderedResources)A list of the network resources placed in the order.Order.BuilderorderedResources(OrderedResourceDefinition... orderedResources)A list of the network resources placed in the order.default Order.BuildershippingAddress(Consumer<Address.Builder> shippingAddress)The shipping address of the order.Order.BuildershippingAddress(Address shippingAddress)The shipping address of the order.Order.BuildertrackingInformation(Collection<TrackingInformation> trackingInformation)The tracking information of the order.Order.BuildertrackingInformation(Consumer<TrackingInformation.Builder>... trackingInformation)The tracking information of the order.Order.BuildertrackingInformation(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 Detail
-
acknowledgmentStatus
Order.Builder acknowledgmentStatus(String 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,AcknowledgmentStatus
-
acknowledgmentStatus
Order.Builder acknowledgmentStatus(AcknowledgmentStatus 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,AcknowledgmentStatus
-
createdAt
Order.Builder createdAt(Instant 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
Order.Builder networkArn(String 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
Order.Builder networkSiteArn(String 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
Order.Builder orderArn(String 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
Order.Builder orderedResources(Collection<OrderedResourceDefinition> 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
Order.Builder orderedResources(OrderedResourceDefinition... 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
Order.Builder orderedResources(Consumer<OrderedResourceDefinition.Builder>... orderedResources)
A list of the network resources placed in the order.
This is a convenience method that creates an instance of theOrderedResourceDefinition.Builderavoiding the need to create one manually viaOrderedResourceDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#orderedResources(List.) - 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:
#orderedResources(java.util.Collection)
-
shippingAddress
Order.Builder shippingAddress(Address 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
default Order.Builder shippingAddress(Consumer<Address.Builder> shippingAddress)
The shipping address of the order.
This is a convenience method that creates an instance of theAddress.Builderavoiding the need to create one manually viaAddress.builder().When the
Consumercompletes,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:
shippingAddress(Address)
-
trackingInformation
Order.Builder trackingInformation(Collection<TrackingInformation> 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
Order.Builder trackingInformation(TrackingInformation... 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
Order.Builder trackingInformation(Consumer<TrackingInformation.Builder>... trackingInformation)
The tracking information of the order.
This is a convenience method that creates an instance of theTrackingInformation.Builderavoiding the need to create one manually viaTrackingInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#trackingInformation(List.) - 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:
#trackingInformation(java.util.Collection)
-
-