Interface CreateOrderRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateOrderRequest.Builder,,CreateOrderRequest> OutpostsRequest.Builder,SdkBuilder<CreateOrderRequest.Builder,,CreateOrderRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateOrderRequest
public static interface CreateOrderRequest.Builder
extends OutpostsRequest.Builder, SdkPojo, CopyableBuilder<CreateOrderRequest.Builder,CreateOrderRequest>
-
Method Summary
Modifier and TypeMethodDescriptionlineItems(Collection<LineItemRequest> lineItems) The line items that make up the order.lineItems(Consumer<LineItemRequest.Builder>... lineItems) The line items that make up the order.lineItems(LineItemRequest... lineItems) The line items that make up the order.outpostIdentifier(String outpostIdentifier) The ID or the Amazon Resource Name (ARN) of the Outpost.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.paymentOption(String paymentOption) The payment option.paymentOption(PaymentOption paymentOption) The payment option.paymentTerm(String paymentTerm) The payment terms.paymentTerm(PaymentTerm paymentTerm) The payment terms.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
outpostIdentifier
The ID or the Amazon Resource Name (ARN) of the Outpost.
- Parameters:
outpostIdentifier- The ID or the Amazon Resource Name (ARN) of the Outpost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineItems
The line items that make up the order.
- Parameters:
lineItems- The line items that make up the order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineItems
The line items that make up the order.
- Parameters:
lineItems- The line items that make up the order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineItems
The line items that make up the order.
This is a convenience method that creates an instance of theLineItemRequest.Builderavoiding the need to create one manually viaLineItemRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolineItems(List<LineItemRequest>).- Parameters:
lineItems- a consumer that will call methods onLineItemRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentOption
The payment option.
- Parameters:
paymentOption- The payment option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentOption
The payment option.
- Parameters:
paymentOption- The payment option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentTerm
The payment terms.
- Parameters:
paymentTerm- The payment terms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentTerm
The payment terms.
- Parameters:
paymentTerm- The payment terms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateOrderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateOrderRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-