Struct aws_sdk_iotsitewise::operation::update_asset_model_composite_model::builders::UpdateAssetModelCompositeModelOutputBuilder
source · #[non_exhaustive]pub struct UpdateAssetModelCompositeModelOutputBuilder { /* private fields */ }Expand description
A builder for UpdateAssetModelCompositeModelOutput.
Implementations§
source§impl UpdateAssetModelCompositeModelOutputBuilder
impl UpdateAssetModelCompositeModelOutputBuilder
sourcepub fn asset_model_composite_model_path(
self,
input: AssetModelCompositeModelPathSegment
) -> Self
pub fn asset_model_composite_model_path( self, input: AssetModelCompositeModelPathSegment ) -> Self
Appends an item to asset_model_composite_model_path.
To override the contents of this collection use set_asset_model_composite_model_path.
The path to the composite model listing the parent composite models.
sourcepub fn set_asset_model_composite_model_path(
self,
input: Option<Vec<AssetModelCompositeModelPathSegment>>
) -> Self
pub fn set_asset_model_composite_model_path( self, input: Option<Vec<AssetModelCompositeModelPathSegment>> ) -> Self
The path to the composite model listing the parent composite models.
sourcepub fn get_asset_model_composite_model_path(
&self
) -> &Option<Vec<AssetModelCompositeModelPathSegment>>
pub fn get_asset_model_composite_model_path( &self ) -> &Option<Vec<AssetModelCompositeModelPathSegment>>
The path to the composite model listing the parent composite models.
sourcepub fn asset_model_status(self, input: AssetModelStatus) -> Self
pub fn asset_model_status(self, input: AssetModelStatus) -> Self
Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.
This field is required.sourcepub fn set_asset_model_status(self, input: Option<AssetModelStatus>) -> Self
pub fn set_asset_model_status(self, input: Option<AssetModelStatus>) -> Self
Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.
sourcepub fn get_asset_model_status(&self) -> &Option<AssetModelStatus>
pub fn get_asset_model_status(&self) -> &Option<AssetModelStatus>
Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.
sourcepub fn build(self) -> Result<UpdateAssetModelCompositeModelOutput, BuildError>
pub fn build(self) -> Result<UpdateAssetModelCompositeModelOutput, BuildError>
Consumes the builder and constructs a UpdateAssetModelCompositeModelOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateAssetModelCompositeModelOutputBuilder
impl Clone for UpdateAssetModelCompositeModelOutputBuilder
source§fn clone(&self) -> UpdateAssetModelCompositeModelOutputBuilder
fn clone(&self) -> UpdateAssetModelCompositeModelOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateAssetModelCompositeModelOutputBuilder
impl Default for UpdateAssetModelCompositeModelOutputBuilder
source§fn default() -> UpdateAssetModelCompositeModelOutputBuilder
fn default() -> UpdateAssetModelCompositeModelOutputBuilder
source§impl PartialEq for UpdateAssetModelCompositeModelOutputBuilder
impl PartialEq for UpdateAssetModelCompositeModelOutputBuilder
source§fn eq(&self, other: &UpdateAssetModelCompositeModelOutputBuilder) -> bool
fn eq(&self, other: &UpdateAssetModelCompositeModelOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAssetModelCompositeModelOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateAssetModelCompositeModelOutputBuilder
impl RefUnwindSafe for UpdateAssetModelCompositeModelOutputBuilder
impl Send for UpdateAssetModelCompositeModelOutputBuilder
impl Sync for UpdateAssetModelCompositeModelOutputBuilder
impl Unpin for UpdateAssetModelCompositeModelOutputBuilder
impl UnwindSafe for UpdateAssetModelCompositeModelOutputBuilder
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> 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