Struct aws_sdk_outposts::types::builders::LineItemBuilder
source · #[non_exhaustive]pub struct LineItemBuilder { /* private fields */ }
Expand description
A builder for LineItem
.
Implementations§
source§impl LineItemBuilder
impl LineItemBuilder
sourcepub fn catalog_item_id(self, input: impl Into<String>) -> Self
pub fn catalog_item_id(self, input: impl Into<String>) -> Self
The ID of the catalog item.
sourcepub fn set_catalog_item_id(self, input: Option<String>) -> Self
pub fn set_catalog_item_id(self, input: Option<String>) -> Self
The ID of the catalog item.
sourcepub fn line_item_id(self, input: impl Into<String>) -> Self
pub fn line_item_id(self, input: impl Into<String>) -> Self
The ID of the line item.
sourcepub fn set_line_item_id(self, input: Option<String>) -> Self
pub fn set_line_item_id(self, input: Option<String>) -> Self
The ID of the line item.
sourcepub fn set_quantity(self, input: Option<i32>) -> Self
pub fn set_quantity(self, input: Option<i32>) -> Self
The quantity of the line item.
sourcepub fn status(self, input: LineItemStatus) -> Self
pub fn status(self, input: LineItemStatus) -> Self
The status of the line item.
sourcepub fn set_status(self, input: Option<LineItemStatus>) -> Self
pub fn set_status(self, input: Option<LineItemStatus>) -> Self
The status of the line item.
sourcepub fn shipment_information(self, input: ShipmentInformation) -> Self
pub fn shipment_information(self, input: ShipmentInformation) -> Self
Information about a line item shipment.
sourcepub fn set_shipment_information(
self,
input: Option<ShipmentInformation>
) -> Self
pub fn set_shipment_information( self, input: Option<ShipmentInformation> ) -> Self
Information about a line item shipment.
sourcepub fn asset_information_list(self, input: LineItemAssetInformation) -> Self
pub fn asset_information_list(self, input: LineItemAssetInformation) -> Self
Appends an item to asset_information_list
.
To override the contents of this collection use set_asset_information_list
.
Information about assets.
sourcepub fn set_asset_information_list(
self,
input: Option<Vec<LineItemAssetInformation>>
) -> Self
pub fn set_asset_information_list( self, input: Option<Vec<LineItemAssetInformation>> ) -> Self
Information about assets.
sourcepub fn previous_line_item_id(self, input: impl Into<String>) -> Self
pub fn previous_line_item_id(self, input: impl Into<String>) -> Self
The ID of the previous line item.
sourcepub fn set_previous_line_item_id(self, input: Option<String>) -> Self
pub fn set_previous_line_item_id(self, input: Option<String>) -> Self
The ID of the previous line item.
sourcepub fn previous_order_id(self, input: impl Into<String>) -> Self
pub fn previous_order_id(self, input: impl Into<String>) -> Self
The ID of the previous order.
sourcepub fn set_previous_order_id(self, input: Option<String>) -> Self
pub fn set_previous_order_id(self, input: Option<String>) -> Self
The ID of the previous order.
Trait Implementations§
source§impl Clone for LineItemBuilder
impl Clone for LineItemBuilder
source§fn clone(&self) -> LineItemBuilder
fn clone(&self) -> LineItemBuilder
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 LineItemBuilder
impl Debug for LineItemBuilder
source§impl Default for LineItemBuilder
impl Default for LineItemBuilder
source§fn default() -> LineItemBuilder
fn default() -> LineItemBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<LineItemBuilder> for LineItemBuilder
impl PartialEq<LineItemBuilder> for LineItemBuilder
source§fn eq(&self, other: &LineItemBuilder) -> bool
fn eq(&self, other: &LineItemBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LineItemBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LineItemBuilder
impl Send for LineItemBuilder
impl Sync for LineItemBuilder
impl Unpin for LineItemBuilder
impl UnwindSafe for LineItemBuilder
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