pub struct AssetModelActiveFluentBuilder { /* private fields */ }Expand description
Fluent builder for the asset_model_active waiter.
This builder is intended to be used similar to the other fluent builders for
normal operations on the client. However, instead of a send method, it has
a wait method that takes a maximum amount of time to wait.
Construct this fluent builder using the client by importing the
Waiters trait and calling the methods
prefixed with wait_until.
Implementations§
source§impl AssetModelActiveFluentBuilder
impl AssetModelActiveFluentBuilder
sourcepub fn as_input(&self) -> &DescribeAssetModelInputBuilder
pub fn as_input(&self) -> &DescribeAssetModelInputBuilder
Access the DescribeAssetModel as a reference.
sourcepub async fn wait(
self,
max_wait: Duration
) -> Result<AssetModelActiveFinalPoll, WaitUntilAssetModelActiveError>
pub async fn wait( self, max_wait: Duration ) -> Result<AssetModelActiveFinalPoll, WaitUntilAssetModelActiveError>
Wait for asset_model_active
sourcepub fn asset_model_id(self, input: impl Into<String>) -> Self
pub fn asset_model_id(self, input: impl Into<String>) -> Self
The ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
sourcepub fn set_asset_model_id(self, input: Option<String>) -> Self
pub fn set_asset_model_id(self, input: Option<String>) -> Self
The ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
sourcepub fn get_asset_model_id(&self) -> &Option<String>
pub fn get_asset_model_id(&self) -> &Option<String>
The ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
sourcepub fn exclude_properties(self, input: bool) -> Self
pub fn exclude_properties(self, input: bool) -> Self
Whether or not to exclude asset model properties from the response.
sourcepub fn set_exclude_properties(self, input: Option<bool>) -> Self
pub fn set_exclude_properties(self, input: Option<bool>) -> Self
Whether or not to exclude asset model properties from the response.
sourcepub fn get_exclude_properties(&self) -> &Option<bool>
pub fn get_exclude_properties(&self) -> &Option<bool>
Whether or not to exclude asset model properties from the response.
Trait Implementations§
source§impl Clone for AssetModelActiveFluentBuilder
impl Clone for AssetModelActiveFluentBuilder
source§fn clone(&self) -> AssetModelActiveFluentBuilder
fn clone(&self) -> AssetModelActiveFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for AssetModelActiveFluentBuilder
impl !RefUnwindSafe for AssetModelActiveFluentBuilder
impl Send for AssetModelActiveFluentBuilder
impl Sync for AssetModelActiveFluentBuilder
impl Unpin for AssetModelActiveFluentBuilder
impl !UnwindSafe for AssetModelActiveFluentBuilder
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