Interface CreateOrderRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateOrderRequest.Builder,,- CreateOrderRequest> - OutpostsRequest.Builder,- SdkBuilder<CreateOrderRequest.Builder,,- CreateOrderRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateOrderRequest
@Mutable
@NotThreadSafe
public static interface CreateOrderRequest.Builder
extends OutpostsRequest.Builder, SdkPojo, CopyableBuilder<CreateOrderRequest.Builder,CreateOrderRequest> 
- 
Method SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
outpostIdentifierThe 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.
 
- 
lineItemsThe 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.
 
- 
lineItemsThe 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.
 
- 
lineItemsThe 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 on- LineItemRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
paymentOptionThe payment option. - Parameters:
- paymentOption- The payment option.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
paymentOptionThe payment option. - Parameters:
- paymentOption- The payment option.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
paymentTermThe payment terms. - Parameters:
- paymentTerm- The payment terms.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
paymentTermThe payment terms. - Parameters:
- paymentTerm- The payment terms.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateOrderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateOrderRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-