Struct aws_sdk_iotfleetwise::types::builders::CustomPropertyBuilder
source · #[non_exhaustive]pub struct CustomPropertyBuilder { /* private fields */ }Expand description
A builder for CustomProperty.
Implementations§
source§impl CustomPropertyBuilder
impl CustomPropertyBuilder
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 custom property. For example, the fully qualified name of a custom property might be ComplexDataTypes.VehicleDataTypes.SVMCamera.FPS.
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 custom property. For example, the fully qualified name of a custom property might be ComplexDataTypes.VehicleDataTypes.SVMCamera.FPS.
sourcepub fn get_fully_qualified_name(&self) -> &Option<String>
pub fn get_fully_qualified_name(&self) -> &Option<String>
The fully qualified name of the custom property. For example, the fully qualified name of a custom property might be ComplexDataTypes.VehicleDataTypes.SVMCamera.FPS.
sourcepub fn data_type(self, input: NodeDataType) -> Self
pub fn data_type(self, input: NodeDataType) -> Self
The data type for the custom property.
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 data type for the custom property.
sourcepub fn get_data_type(&self) -> &Option<NodeDataType>
pub fn get_data_type(&self) -> &Option<NodeDataType>
The data type for the custom property.
sourcepub fn data_encoding(self, input: NodeDataEncoding) -> Self
pub fn data_encoding(self, input: NodeDataEncoding) -> Self
Indicates whether the property is binary data.
sourcepub fn set_data_encoding(self, input: Option<NodeDataEncoding>) -> Self
pub fn set_data_encoding(self, input: Option<NodeDataEncoding>) -> Self
Indicates whether the property is binary data.
sourcepub fn get_data_encoding(&self) -> &Option<NodeDataEncoding>
pub fn get_data_encoding(&self) -> &Option<NodeDataEncoding>
Indicates whether the property is binary data.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A brief description of the custom property.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A brief description of the custom property.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A brief description of the custom property.
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.
sourcepub fn struct_fully_qualified_name(self, input: impl Into<String>) -> Self
pub fn struct_fully_qualified_name(self, input: impl Into<String>) -> Self
The fully qualified name of the struct node for the custom property if the data type of the custom property is Struct or StructArray.
sourcepub fn set_struct_fully_qualified_name(self, input: Option<String>) -> Self
pub fn set_struct_fully_qualified_name(self, input: Option<String>) -> Self
The fully qualified name of the struct node for the custom property if the data type of the custom property is Struct or StructArray.
sourcepub fn get_struct_fully_qualified_name(&self) -> &Option<String>
pub fn get_struct_fully_qualified_name(&self) -> &Option<String>
The fully qualified name of the struct node for the custom property if the data type of the custom property is Struct or StructArray.
sourcepub fn build(self) -> Result<CustomProperty, BuildError>
pub fn build(self) -> Result<CustomProperty, BuildError>
Consumes the builder and constructs a CustomProperty.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CustomPropertyBuilder
impl Clone for CustomPropertyBuilder
source§fn clone(&self) -> CustomPropertyBuilder
fn clone(&self) -> CustomPropertyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CustomPropertyBuilder
impl Debug for CustomPropertyBuilder
source§impl Default for CustomPropertyBuilder
impl Default for CustomPropertyBuilder
source§fn default() -> CustomPropertyBuilder
fn default() -> CustomPropertyBuilder
source§impl PartialEq for CustomPropertyBuilder
impl PartialEq for CustomPropertyBuilder
source§fn eq(&self, other: &CustomPropertyBuilder) -> bool
fn eq(&self, other: &CustomPropertyBuilder) -> bool
self and other values to be equal, and is used
by ==.