Struct aws_sdk_iotsitewise::operation::create_asset_model_composite_model::builders::CreateAssetModelCompositeModelOutputBuilder
source · #[non_exhaustive]pub struct CreateAssetModelCompositeModelOutputBuilder { /* private fields */ }Expand description
A builder for CreateAssetModelCompositeModelOutput.
Implementations§
source§impl CreateAssetModelCompositeModelOutputBuilder
impl CreateAssetModelCompositeModelOutputBuilder
sourcepub fn asset_model_composite_model_id(self, input: impl Into<String>) -> Self
pub fn asset_model_composite_model_id(self, input: impl Into<String>) -> Self
The ID of the composed asset model. You can use this ID when you call other IoT SiteWise APIs.
This field is required.sourcepub fn set_asset_model_composite_model_id(self, input: Option<String>) -> Self
pub fn set_asset_model_composite_model_id(self, input: Option<String>) -> Self
The ID of the composed asset model. You can use this ID when you call other IoT SiteWise APIs.
sourcepub fn get_asset_model_composite_model_id(&self) -> &Option<String>
pub fn get_asset_model_composite_model_id(&self) -> &Option<String>
The ID of the composed asset model. You can use this ID when you call other IoT SiteWise APIs.
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<CreateAssetModelCompositeModelOutput, BuildError>
pub fn build(self) -> Result<CreateAssetModelCompositeModelOutput, BuildError>
Consumes the builder and constructs a CreateAssetModelCompositeModelOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateAssetModelCompositeModelOutputBuilder
impl Clone for CreateAssetModelCompositeModelOutputBuilder
source§fn clone(&self) -> CreateAssetModelCompositeModelOutputBuilder
fn clone(&self) -> CreateAssetModelCompositeModelOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateAssetModelCompositeModelOutputBuilder
impl Default for CreateAssetModelCompositeModelOutputBuilder
source§fn default() -> CreateAssetModelCompositeModelOutputBuilder
fn default() -> CreateAssetModelCompositeModelOutputBuilder
source§impl PartialEq for CreateAssetModelCompositeModelOutputBuilder
impl PartialEq for CreateAssetModelCompositeModelOutputBuilder
source§fn eq(&self, other: &CreateAssetModelCompositeModelOutputBuilder) -> bool
fn eq(&self, other: &CreateAssetModelCompositeModelOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateAssetModelCompositeModelOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateAssetModelCompositeModelOutputBuilder
impl RefUnwindSafe for CreateAssetModelCompositeModelOutputBuilder
impl Send for CreateAssetModelCompositeModelOutputBuilder
impl Sync for CreateAssetModelCompositeModelOutputBuilder
impl Unpin for CreateAssetModelCompositeModelOutputBuilder
impl UnwindSafe for CreateAssetModelCompositeModelOutputBuilder
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