Struct aws_sdk_iotsitewise::types::builders::VariantBuilder
source · #[non_exhaustive]pub struct VariantBuilder { /* private fields */ }Expand description
A builder for Variant.
Implementations§
source§impl VariantBuilder
impl VariantBuilder
sourcepub fn string_value(self, input: impl Into<String>) -> Self
pub fn string_value(self, input: impl Into<String>) -> Self
Asset property data of type string (sequence of characters).
sourcepub fn set_string_value(self, input: Option<String>) -> Self
pub fn set_string_value(self, input: Option<String>) -> Self
Asset property data of type string (sequence of characters).
sourcepub fn get_string_value(&self) -> &Option<String>
pub fn get_string_value(&self) -> &Option<String>
Asset property data of type string (sequence of characters).
sourcepub fn integer_value(self, input: i32) -> Self
pub fn integer_value(self, input: i32) -> Self
Asset property data of type integer (number that's greater than or equal to zero).
sourcepub fn set_integer_value(self, input: Option<i32>) -> Self
pub fn set_integer_value(self, input: Option<i32>) -> Self
Asset property data of type integer (number that's greater than or equal to zero).
sourcepub fn get_integer_value(&self) -> &Option<i32>
pub fn get_integer_value(&self) -> &Option<i32>
Asset property data of type integer (number that's greater than or equal to zero).
sourcepub fn double_value(self, input: f64) -> Self
pub fn double_value(self, input: f64) -> Self
Asset property data of type double (floating point number).
sourcepub fn set_double_value(self, input: Option<f64>) -> Self
pub fn set_double_value(self, input: Option<f64>) -> Self
Asset property data of type double (floating point number).
sourcepub fn get_double_value(&self) -> &Option<f64>
pub fn get_double_value(&self) -> &Option<f64>
Asset property data of type double (floating point number).
sourcepub fn boolean_value(self, input: bool) -> Self
pub fn boolean_value(self, input: bool) -> Self
Asset property data of type Boolean (true or false).
sourcepub fn set_boolean_value(self, input: Option<bool>) -> Self
pub fn set_boolean_value(self, input: Option<bool>) -> Self
Asset property data of type Boolean (true or false).
sourcepub fn get_boolean_value(&self) -> &Option<bool>
pub fn get_boolean_value(&self) -> &Option<bool>
Asset property data of type Boolean (true or false).
Trait Implementations§
source§impl Clone for VariantBuilder
impl Clone for VariantBuilder
source§fn clone(&self) -> VariantBuilder
fn clone(&self) -> VariantBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VariantBuilder
impl Debug for VariantBuilder
source§impl Default for VariantBuilder
impl Default for VariantBuilder
source§fn default() -> VariantBuilder
fn default() -> VariantBuilder
source§impl PartialEq for VariantBuilder
impl PartialEq for VariantBuilder
source§fn eq(&self, other: &VariantBuilder) -> bool
fn eq(&self, other: &VariantBuilder) -> bool
self and other values to be equal, and is used
by ==.