Struct aws_sdk_iotfleetwise::model::signal_decoder::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SignalDecoder
.
Implementations§
source§impl Builder
impl Builder
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 a signal decoder as defined in a vehicle model.
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 a signal decoder as defined in a vehicle model.
sourcepub fn type(self, input: SignalDecoderType) -> Self
pub fn type(self, input: SignalDecoderType) -> Self
The network protocol for the vehicle. For example, CAN_SIGNAL
specifies a protocol that defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL
specifies a protocol that defines how self-diagnostic data is communicated between ECUs.
sourcepub fn set_type(self, input: Option<SignalDecoderType>) -> Self
pub fn set_type(self, input: Option<SignalDecoderType>) -> Self
The network protocol for the vehicle. For example, CAN_SIGNAL
specifies a protocol that defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL
specifies a protocol that defines how self-diagnostic data is communicated between ECUs.
sourcepub fn interface_id(self, input: impl Into<String>) -> Self
pub fn interface_id(self, input: impl Into<String>) -> Self
The ID of a network interface that specifies what network protocol a vehicle follows.
sourcepub fn set_interface_id(self, input: Option<String>) -> Self
pub fn set_interface_id(self, input: Option<String>) -> Self
The ID of a network interface that specifies what network protocol a vehicle follows.
sourcepub fn can_signal(self, input: CanSignal) -> Self
pub fn can_signal(self, input: CanSignal) -> Self
Information about signal decoder using the Controller Area Network (CAN) protocol.
sourcepub fn set_can_signal(self, input: Option<CanSignal>) -> Self
pub fn set_can_signal(self, input: Option<CanSignal>) -> Self
Information about signal decoder using the Controller Area Network (CAN) protocol.
sourcepub fn obd_signal(self, input: ObdSignal) -> Self
pub fn obd_signal(self, input: ObdSignal) -> Self
Information about signal decoder using the On-board diagnostic (OBD) II protocol.
sourcepub fn set_obd_signal(self, input: Option<ObdSignal>) -> Self
pub fn set_obd_signal(self, input: Option<ObdSignal>) -> Self
Information about signal decoder using the On-board diagnostic (OBD) II protocol.
sourcepub fn build(self) -> SignalDecoder
pub fn build(self) -> SignalDecoder
Consumes the builder and constructs a SignalDecoder
.