Struct aws_sdk_iot::types::builders::AssetPropertyValueBuilder
source · #[non_exhaustive]pub struct AssetPropertyValueBuilder { /* private fields */ }
Expand description
A builder for AssetPropertyValue
.
Implementations§
source§impl AssetPropertyValueBuilder
impl AssetPropertyValueBuilder
sourcepub fn value(self, input: AssetPropertyVariant) -> Self
pub fn value(self, input: AssetPropertyVariant) -> Self
The value of the asset property.
This field is required.sourcepub fn set_value(self, input: Option<AssetPropertyVariant>) -> Self
pub fn set_value(self, input: Option<AssetPropertyVariant>) -> Self
The value of the asset property.
sourcepub fn get_value(&self) -> &Option<AssetPropertyVariant>
pub fn get_value(&self) -> &Option<AssetPropertyVariant>
The value of the asset property.
sourcepub fn timestamp(self, input: AssetPropertyTimestamp) -> Self
pub fn timestamp(self, input: AssetPropertyTimestamp) -> Self
The asset property value timestamp.
This field is required.sourcepub fn set_timestamp(self, input: Option<AssetPropertyTimestamp>) -> Self
pub fn set_timestamp(self, input: Option<AssetPropertyTimestamp>) -> Self
The asset property value timestamp.
sourcepub fn get_timestamp(&self) -> &Option<AssetPropertyTimestamp>
pub fn get_timestamp(&self) -> &Option<AssetPropertyTimestamp>
The asset property value timestamp.
sourcepub fn quality(self, input: impl Into<String>) -> Self
pub fn quality(self, input: impl Into<String>) -> Self
Optional. A string that describes the quality of the value. Accepts substitution templates. Must be GOOD
, BAD
, or UNCERTAIN
.
sourcepub fn set_quality(self, input: Option<String>) -> Self
pub fn set_quality(self, input: Option<String>) -> Self
Optional. A string that describes the quality of the value. Accepts substitution templates. Must be GOOD
, BAD
, or UNCERTAIN
.
sourcepub fn get_quality(&self) -> &Option<String>
pub fn get_quality(&self) -> &Option<String>
Optional. A string that describes the quality of the value. Accepts substitution templates. Must be GOOD
, BAD
, or UNCERTAIN
.
sourcepub fn build(self) -> AssetPropertyValue
pub fn build(self) -> AssetPropertyValue
Consumes the builder and constructs a AssetPropertyValue
.
Trait Implementations§
source§impl Clone for AssetPropertyValueBuilder
impl Clone for AssetPropertyValueBuilder
source§fn clone(&self) -> AssetPropertyValueBuilder
fn clone(&self) -> AssetPropertyValueBuilder
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 AssetPropertyValueBuilder
impl Debug for AssetPropertyValueBuilder
source§impl Default for AssetPropertyValueBuilder
impl Default for AssetPropertyValueBuilder
source§fn default() -> AssetPropertyValueBuilder
fn default() -> AssetPropertyValueBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssetPropertyValueBuilder
impl PartialEq for AssetPropertyValueBuilder
source§fn eq(&self, other: &AssetPropertyValueBuilder) -> bool
fn eq(&self, other: &AssetPropertyValueBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssetPropertyValueBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AssetPropertyValueBuilder
impl Send for AssetPropertyValueBuilder
impl Sync for AssetPropertyValueBuilder
impl Unpin for AssetPropertyValueBuilder
impl UnwindSafe for AssetPropertyValueBuilder
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.