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 ==
.impl StructuralPartialEq for LineItemBuilder
Auto Trait Implementations§
impl Freeze for LineItemBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more