Struct aws_sdk_iotsitewise::operation::update_asset_model::builders::UpdateAssetModelOutputBuilder
source · #[non_exhaustive]pub struct UpdateAssetModelOutputBuilder { /* private fields */ }Expand description
A builder for UpdateAssetModelOutput.
Implementations§
source§impl UpdateAssetModelOutputBuilder
impl UpdateAssetModelOutputBuilder
sourcepub fn asset_model_status(self, input: AssetModelStatus) -> Self
pub fn asset_model_status(self, input: AssetModelStatus) -> Self
The status of the asset model, which contains a state (UPDATING after successfully calling this operation) and any error message.
sourcepub fn set_asset_model_status(self, input: Option<AssetModelStatus>) -> Self
pub fn set_asset_model_status(self, input: Option<AssetModelStatus>) -> Self
The status of the asset model, which contains a state (UPDATING after successfully calling this operation) and any error message.
sourcepub fn get_asset_model_status(&self) -> &Option<AssetModelStatus>
pub fn get_asset_model_status(&self) -> &Option<AssetModelStatus>
The status of the asset model, which contains a state (UPDATING after successfully calling this operation) and any error message.
sourcepub fn build(self) -> UpdateAssetModelOutput
pub fn build(self) -> UpdateAssetModelOutput
Consumes the builder and constructs a UpdateAssetModelOutput.
Trait Implementations§
source§impl Clone for UpdateAssetModelOutputBuilder
impl Clone for UpdateAssetModelOutputBuilder
source§fn clone(&self) -> UpdateAssetModelOutputBuilder
fn clone(&self) -> UpdateAssetModelOutputBuilder
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 Default for UpdateAssetModelOutputBuilder
impl Default for UpdateAssetModelOutputBuilder
source§fn default() -> UpdateAssetModelOutputBuilder
fn default() -> UpdateAssetModelOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateAssetModelOutputBuilder
impl PartialEq for UpdateAssetModelOutputBuilder
source§fn eq(&self, other: &UpdateAssetModelOutputBuilder) -> bool
fn eq(&self, other: &UpdateAssetModelOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAssetModelOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateAssetModelOutputBuilder
impl RefUnwindSafe for UpdateAssetModelOutputBuilder
impl Send for UpdateAssetModelOutputBuilder
impl Sync for UpdateAssetModelOutputBuilder
impl Unpin for UpdateAssetModelOutputBuilder
impl UnwindSafe for UpdateAssetModelOutputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.