Struct aws_sdk_iotfleetwise::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 fully_qualified_name(self, input: impl Into<String>) -> Self
pub fn fully_qualified_name(self, input: impl Into<String>) -> Self
The fully qualified name of the attribute. For example, the fully qualified name of an attribute might be Vehicle.Body.Engine.Type.
sourcepub fn set_fully_qualified_name(self, input: Option<String>) -> Self
pub fn set_fully_qualified_name(self, input: Option<String>) -> Self
The fully qualified name of the attribute. For example, the fully qualified name of an attribute might be Vehicle.Body.Engine.Type.
sourcepub fn get_fully_qualified_name(&self) -> &Option<String>
pub fn get_fully_qualified_name(&self) -> &Option<String>
The fully qualified name of the attribute. For example, the fully qualified name of an attribute might be Vehicle.Body.Engine.Type.
sourcepub fn data_type(self, input: NodeDataType) -> Self
pub fn data_type(self, input: NodeDataType) -> Self
The specified data type of the attribute.
This field is required.sourcepub fn set_data_type(self, input: Option<NodeDataType>) -> Self
pub fn set_data_type(self, input: Option<NodeDataType>) -> Self
The specified data type of the attribute.
sourcepub fn get_data_type(&self) -> &Option<NodeDataType>
pub fn get_data_type(&self) -> &Option<NodeDataType>
The specified data type of the attribute.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A brief description of the attribute.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A brief description of the attribute.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A brief description of the attribute.
sourcepub fn allowed_values(self, input: impl Into<String>) -> Self
pub fn allowed_values(self, input: impl Into<String>) -> Self
Appends an item to allowed_values.
To override the contents of this collection use set_allowed_values.
A list of possible values an attribute can be assigned.
sourcepub fn set_allowed_values(self, input: Option<Vec<String>>) -> Self
pub fn set_allowed_values(self, input: Option<Vec<String>>) -> Self
A list of possible values an attribute can be assigned.
sourcepub fn get_allowed_values(&self) -> &Option<Vec<String>>
pub fn get_allowed_values(&self) -> &Option<Vec<String>>
A list of possible values an attribute can be assigned.
sourcepub fn set_min(self, input: Option<f64>) -> Self
pub fn set_min(self, input: Option<f64>) -> Self
The specified possible minimum value of the attribute.
sourcepub fn set_max(self, input: Option<f64>) -> Self
pub fn set_max(self, input: Option<f64>) -> Self
The specified possible maximum value of the attribute.
sourcepub fn assigned_value(self, input: impl Into<String>) -> Self
👎Deprecated: assignedValue is no longer in use
pub fn assigned_value(self, input: impl Into<String>) -> Self
A specified value for the attribute.
sourcepub fn set_assigned_value(self, input: Option<String>) -> Self
👎Deprecated: assignedValue is no longer in use
pub fn set_assigned_value(self, input: Option<String>) -> Self
A specified value for the attribute.
sourcepub fn get_assigned_value(&self) -> &Option<String>
👎Deprecated: assignedValue is no longer in use
pub fn get_assigned_value(&self) -> &Option<String>
A specified value for the attribute.
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 attribute.
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 attribute.
sourcepub fn get_default_value(&self) -> &Option<String>
pub fn get_default_value(&self) -> &Option<String>
The default value of the attribute.
sourcepub fn deprecation_message(self, input: impl Into<String>) -> Self
pub fn deprecation_message(self, input: impl Into<String>) -> Self
The deprecation message for the node or the branch that was moved or deleted.
sourcepub fn set_deprecation_message(self, input: Option<String>) -> Self
pub fn set_deprecation_message(self, input: Option<String>) -> Self
The deprecation message for the node or the branch that was moved or deleted.
sourcepub fn get_deprecation_message(&self) -> &Option<String>
pub fn get_deprecation_message(&self) -> &Option<String>
The deprecation message for the node or the branch that was moved or deleted.
sourcepub fn comment(self, input: impl Into<String>) -> Self
pub fn comment(self, input: impl Into<String>) -> Self
A comment in addition to the description.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
A comment in addition to the description.
sourcepub fn get_comment(&self) -> &Option<String>
pub fn get_comment(&self) -> &Option<String>
A comment in addition to the description.
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 ==.