Struct aws_sdk_outposts::types::builders::AssetInfoBuilder
source · #[non_exhaustive]pub struct AssetInfoBuilder { /* private fields */ }
Expand description
A builder for AssetInfo
.
Implementations§
source§impl AssetInfoBuilder
impl AssetInfoBuilder
sourcepub fn set_asset_id(self, input: Option<String>) -> Self
pub fn set_asset_id(self, input: Option<String>) -> Self
The ID of the asset.
sourcepub fn get_asset_id(&self) -> &Option<String>
pub fn get_asset_id(&self) -> &Option<String>
The ID of the asset.
sourcepub fn set_rack_id(self, input: Option<String>) -> Self
pub fn set_rack_id(self, input: Option<String>) -> Self
The rack ID of the asset.
sourcepub fn get_rack_id(&self) -> &Option<String>
pub fn get_rack_id(&self) -> &Option<String>
The rack ID of the asset.
sourcepub fn asset_type(self, input: AssetType) -> Self
pub fn asset_type(self, input: AssetType) -> Self
The type of the asset.
sourcepub fn set_asset_type(self, input: Option<AssetType>) -> Self
pub fn set_asset_type(self, input: Option<AssetType>) -> Self
The type of the asset.
sourcepub fn get_asset_type(&self) -> &Option<AssetType>
pub fn get_asset_type(&self) -> &Option<AssetType>
The type of the asset.
sourcepub fn compute_attributes(self, input: ComputeAttributes) -> Self
pub fn compute_attributes(self, input: ComputeAttributes) -> Self
Information about compute hardware assets.
sourcepub fn set_compute_attributes(self, input: Option<ComputeAttributes>) -> Self
pub fn set_compute_attributes(self, input: Option<ComputeAttributes>) -> Self
Information about compute hardware assets.
sourcepub fn get_compute_attributes(&self) -> &Option<ComputeAttributes>
pub fn get_compute_attributes(&self) -> &Option<ComputeAttributes>
Information about compute hardware assets.
sourcepub fn asset_location(self, input: AssetLocation) -> Self
pub fn asset_location(self, input: AssetLocation) -> Self
The position of an asset in a rack.
sourcepub fn set_asset_location(self, input: Option<AssetLocation>) -> Self
pub fn set_asset_location(self, input: Option<AssetLocation>) -> Self
The position of an asset in a rack.
sourcepub fn get_asset_location(&self) -> &Option<AssetLocation>
pub fn get_asset_location(&self) -> &Option<AssetLocation>
The position of an asset in a rack.
Trait Implementations§
source§impl Clone for AssetInfoBuilder
impl Clone for AssetInfoBuilder
source§fn clone(&self) -> AssetInfoBuilder
fn clone(&self) -> AssetInfoBuilder
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 AssetInfoBuilder
impl Debug for AssetInfoBuilder
source§impl Default for AssetInfoBuilder
impl Default for AssetInfoBuilder
source§fn default() -> AssetInfoBuilder
fn default() -> AssetInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssetInfoBuilder
impl PartialEq for AssetInfoBuilder
source§fn eq(&self, other: &AssetInfoBuilder) -> bool
fn eq(&self, other: &AssetInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssetInfoBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AssetInfoBuilder
impl Send for AssetInfoBuilder
impl Sync for AssetInfoBuilder
impl Unpin for AssetInfoBuilder
impl UnwindSafe for AssetInfoBuilder
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
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>
Creates a shared type from an unshared type.