Struct aws_sdk_iotsitewise::types::builders::PropertyTypeBuilder
source · #[non_exhaustive]pub struct PropertyTypeBuilder { /* private fields */ }Expand description
A builder for PropertyType.
Implementations§
source§impl PropertyTypeBuilder
impl PropertyTypeBuilder
sourcepub fn attribute(self, input: Attribute) -> Self
pub fn attribute(self, input: Attribute) -> Self
Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.
sourcepub fn set_attribute(self, input: Option<Attribute>) -> Self
pub fn set_attribute(self, input: Option<Attribute>) -> Self
Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.
sourcepub fn get_attribute(&self) -> &Option<Attribute>
pub fn get_attribute(&self) -> &Option<Attribute>
Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.
sourcepub fn measurement(self, input: Measurement) -> Self
pub fn measurement(self, input: Measurement) -> Self
Specifies an asset measurement property. A measurement represents a device's raw sensor data stream, such as timestamped temperature values or timestamped power values.
sourcepub fn set_measurement(self, input: Option<Measurement>) -> Self
pub fn set_measurement(self, input: Option<Measurement>) -> Self
Specifies an asset measurement property. A measurement represents a device's raw sensor data stream, such as timestamped temperature values or timestamped power values.
sourcepub fn get_measurement(&self) -> &Option<Measurement>
pub fn get_measurement(&self) -> &Option<Measurement>
Specifies an asset measurement property. A measurement represents a device's raw sensor data stream, such as timestamped temperature values or timestamped power values.
sourcepub fn transform(self, input: Transform) -> Self
pub fn transform(self, input: Transform) -> Self
Specifies an asset transform property. A transform contains a mathematical expression that maps a property's data points from one form to another, such as a unit conversion from Celsius to Fahrenheit.
sourcepub fn set_transform(self, input: Option<Transform>) -> Self
pub fn set_transform(self, input: Option<Transform>) -> Self
Specifies an asset transform property. A transform contains a mathematical expression that maps a property's data points from one form to another, such as a unit conversion from Celsius to Fahrenheit.
sourcepub fn get_transform(&self) -> &Option<Transform>
pub fn get_transform(&self) -> &Option<Transform>
Specifies an asset transform property. A transform contains a mathematical expression that maps a property's data points from one form to another, such as a unit conversion from Celsius to Fahrenheit.
sourcepub fn metric(self, input: Metric) -> Self
pub fn metric(self, input: Metric) -> Self
Specifies an asset metric property. A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature.
sourcepub fn set_metric(self, input: Option<Metric>) -> Self
pub fn set_metric(self, input: Option<Metric>) -> Self
Specifies an asset metric property. A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature.
sourcepub fn get_metric(&self) -> &Option<Metric>
pub fn get_metric(&self) -> &Option<Metric>
Specifies an asset metric property. A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature.
sourcepub fn build(self) -> PropertyType
pub fn build(self) -> PropertyType
Consumes the builder and constructs a PropertyType.
Trait Implementations§
source§impl Clone for PropertyTypeBuilder
impl Clone for PropertyTypeBuilder
source§fn clone(&self) -> PropertyTypeBuilder
fn clone(&self) -> PropertyTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PropertyTypeBuilder
impl Debug for PropertyTypeBuilder
source§impl Default for PropertyTypeBuilder
impl Default for PropertyTypeBuilder
source§fn default() -> PropertyTypeBuilder
fn default() -> PropertyTypeBuilder
source§impl PartialEq for PropertyTypeBuilder
impl PartialEq for PropertyTypeBuilder
source§fn eq(&self, other: &PropertyTypeBuilder) -> bool
fn eq(&self, other: &PropertyTypeBuilder) -> bool
self and other values to be equal, and is used
by ==.