Struct aws_sdk_iotsitewise::types::builders::AttributeBuilder
source · #[non_exhaustive]pub struct AttributeBuilder { /* private fields */ }Expand description
A builder for Attribute.
Implementations§
source§impl AttributeBuilder
impl AttributeBuilder
sourcepub fn default_value(self, input: impl Into<String>) -> Self
pub fn default_value(self, input: impl Into<String>) -> Self
The default value of the asset model property attribute. All assets that you create from the asset model contain this attribute value. You can update an attribute's value after you create an asset. For more information, see Updating attribute values in the IoT SiteWise User Guide.
sourcepub fn set_default_value(self, input: Option<String>) -> Self
pub fn set_default_value(self, input: Option<String>) -> Self
The default value of the asset model property attribute. All assets that you create from the asset model contain this attribute value. You can update an attribute's value after you create an asset. For more information, see Updating attribute values in the IoT SiteWise User Guide.
sourcepub fn get_default_value(&self) -> &Option<String>
pub fn get_default_value(&self) -> &Option<String>
The default value of the asset model property attribute. All assets that you create from the asset model contain this attribute value. You can update an attribute's value after you create an asset. For more information, see Updating attribute values in the IoT SiteWise User Guide.
Trait Implementations§
source§impl Clone for AttributeBuilder
impl Clone for AttributeBuilder
source§fn clone(&self) -> AttributeBuilder
fn clone(&self) -> AttributeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AttributeBuilder
impl Debug for AttributeBuilder
source§impl Default for AttributeBuilder
impl Default for AttributeBuilder
source§fn default() -> AttributeBuilder
fn default() -> AttributeBuilder
source§impl PartialEq for AttributeBuilder
impl PartialEq for AttributeBuilder
source§fn eq(&self, other: &AttributeBuilder) -> bool
fn eq(&self, other: &AttributeBuilder) -> bool
self and other values to be equal, and is used
by ==.