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 get_catalog_item_id(&self) -> &Option<String>
pub fn get_catalog_item_id(&self) -> &Option<String>
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 get_line_item_id(&self) -> &Option<String>
pub fn get_line_item_id(&self) -> &Option<String>
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 get_quantity(&self) -> &Option<i32>
pub fn get_quantity(&self) -> &Option<i32>
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 get_status(&self) -> &Option<LineItemStatus>
pub fn get_status(&self) -> &Option<LineItemStatus>
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 get_shipment_information(&self) -> &Option<ShipmentInformation>
pub fn get_shipment_information(&self) -> &Option<ShipmentInformation>
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 get_asset_information_list(
&self
) -> &Option<Vec<LineItemAssetInformation>>
pub fn get_asset_information_list( &self ) -> &Option<Vec<LineItemAssetInformation>>
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 get_previous_line_item_id(&self) -> &Option<String>
pub fn get_previous_line_item_id(&self) -> &Option<String>
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.
sourcepub fn get_previous_order_id(&self) -> &Option<String>
pub fn get_previous_order_id(&self) -> &Option<String>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for LineItemBuilder
impl PartialEq for LineItemBuilder
source§fn eq(&self, other: &LineItemBuilder) -> bool
fn eq(&self, other: &LineItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.