Struct aws_sdk_iotfleetwise::model::can_dbc_definition::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CanDbcDefinition
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn network_interface(self, input: impl Into<String>) -> Self
pub fn network_interface(self, input: impl Into<String>) -> Self
Contains information about a network interface.
sourcepub fn set_network_interface(self, input: Option<String>) -> Self
pub fn set_network_interface(self, input: Option<String>) -> Self
Contains information about a network interface.
sourcepub fn can_dbc_files(self, input: Blob) -> Self
pub fn can_dbc_files(self, input: Blob) -> Self
Appends an item to can_dbc_files
.
To override the contents of this collection use set_can_dbc_files
.
A list of DBC files. You can upload only one DBC file for each network interface and specify up to five (inclusive) files in the list.
sourcepub fn set_can_dbc_files(self, input: Option<Vec<Blob>>) -> Self
pub fn set_can_dbc_files(self, input: Option<Vec<Blob>>) -> Self
A list of DBC files. You can upload only one DBC file for each network interface and specify up to five (inclusive) files in the list.
sourcepub fn signals_map(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn signals_map(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to signals_map
.
To override the contents of this collection use set_signals_map
.
Pairs every signal specified in your vehicle model with a signal decoder.
sourcepub fn set_signals_map(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_signals_map(self, input: Option<HashMap<String, String>>) -> Self
Pairs every signal specified in your vehicle model with a signal decoder.
sourcepub fn build(self) -> CanDbcDefinition
pub fn build(self) -> CanDbcDefinition
Consumes the builder and constructs a CanDbcDefinition
.