Struct aws_sdk_outposts::input::create_order_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateOrderInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn outpost_identifier(self, input: impl Into<String>) -> Self
pub fn outpost_identifier(self, input: impl Into<String>) -> Self
The ID or the Amazon Resource Name (ARN) of the Outpost.
sourcepub fn set_outpost_identifier(self, input: Option<String>) -> Self
pub fn set_outpost_identifier(self, input: Option<String>) -> Self
The ID or the Amazon Resource Name (ARN) of the Outpost.
sourcepub fn line_items(self, input: LineItemRequest) -> Self
pub fn line_items(self, input: LineItemRequest) -> Self
Appends an item to line_items
.
To override the contents of this collection use set_line_items
.
The line items that make up the order.
sourcepub fn set_line_items(self, input: Option<Vec<LineItemRequest>>) -> Self
pub fn set_line_items(self, input: Option<Vec<LineItemRequest>>) -> Self
The line items that make up the order.
sourcepub fn payment_option(self, input: PaymentOption) -> Self
pub fn payment_option(self, input: PaymentOption) -> Self
The payment option.
sourcepub fn set_payment_option(self, input: Option<PaymentOption>) -> Self
pub fn set_payment_option(self, input: Option<PaymentOption>) -> Self
The payment option.
sourcepub fn payment_term(self, input: PaymentTerm) -> Self
pub fn payment_term(self, input: PaymentTerm) -> Self
The payment terms.
sourcepub fn set_payment_term(self, input: Option<PaymentTerm>) -> Self
pub fn set_payment_term(self, input: Option<PaymentTerm>) -> Self
The payment terms.
sourcepub fn build(self) -> Result<CreateOrderInput, BuildError>
pub fn build(self) -> Result<CreateOrderInput, BuildError>
Consumes the builder and constructs a CreateOrderInput
.