#[non_exhaustive]pub struct CreateOrderInputBuilder { /* private fields */ }Expand description
A builder for CreateOrderInput.
Implementations§
source§impl CreateOrderInputBuilder
 
impl CreateOrderInputBuilder
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 get_outpost_identifier(&self) -> &Option<String>
 
pub fn get_outpost_identifier(&self) -> &Option<String>
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 get_line_items(&self) -> &Option<Vec<LineItemRequest>>
 
pub fn get_line_items(&self) -> &Option<Vec<LineItemRequest>>
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 get_payment_option(&self) -> &Option<PaymentOption>
 
pub fn get_payment_option(&self) -> &Option<PaymentOption>
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 get_payment_term(&self) -> &Option<PaymentTerm>
 
pub fn get_payment_term(&self) -> &Option<PaymentTerm>
The payment terms.
sourcepub fn build(self) -> Result<CreateOrderInput, BuildError>
 
pub fn build(self) -> Result<CreateOrderInput, BuildError>
Consumes the builder and constructs a CreateOrderInput.
source§impl CreateOrderInputBuilder
 
impl CreateOrderInputBuilder
sourcepub async fn send_with(
    self,
    client: &Client
) -> Result<CreateOrderOutput, SdkError<CreateOrderError, HttpResponse>>
 
pub async fn send_with( self, client: &Client ) -> Result<CreateOrderOutput, SdkError<CreateOrderError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateOrderInputBuilder
 
impl Clone for CreateOrderInputBuilder
source§fn clone(&self) -> CreateOrderInputBuilder
 
fn clone(&self) -> CreateOrderInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for CreateOrderInputBuilder
 
impl Debug for CreateOrderInputBuilder
source§impl Default for CreateOrderInputBuilder
 
impl Default for CreateOrderInputBuilder
source§fn default() -> CreateOrderInputBuilder
 
fn default() -> CreateOrderInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateOrderInputBuilder
 
impl PartialEq for CreateOrderInputBuilder
source§fn eq(&self, other: &CreateOrderInputBuilder) -> bool
 
fn eq(&self, other: &CreateOrderInputBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateOrderInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateOrderInputBuilder
impl Send for CreateOrderInputBuilder
impl Sync for CreateOrderInputBuilder
impl Unpin for CreateOrderInputBuilder
impl UnwindSafe for CreateOrderInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more