Struct aws_sdk_outposts::client::fluent_builders::CreateOrder
source · pub struct CreateOrder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateOrder
.
Creates an order for an Outpost.
Implementations§
source§impl CreateOrder
impl CreateOrder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateOrder, AwsResponseRetryClassifier>, SdkError<CreateOrderError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateOrder, AwsResponseRetryClassifier>, SdkError<CreateOrderError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<CreateOrderOutput, SdkError<CreateOrderError>>
pub async fn send(self) -> Result<CreateOrderOutput, SdkError<CreateOrderError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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 LineItems
.
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.
Trait Implementations§
source§impl Clone for CreateOrder
impl Clone for CreateOrder
source§fn clone(&self) -> CreateOrder
fn clone(&self) -> CreateOrder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more