Struct aws_sdk_iotfleetwise::types::builders::SignalDecoderBuilder
source · #[non_exhaustive]pub struct SignalDecoderBuilder { /* private fields */ }
Expand description
A builder for SignalDecoder
.
Implementations§
source§impl SignalDecoderBuilder
impl SignalDecoderBuilder
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.
This field is required.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 get_fully_qualified_name(&self) -> &Option<String>
pub fn get_fully_qualified_name(&self) -> &Option<String>
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 get_type(&self) -> &Option<SignalDecoderType>
pub fn get_type(&self) -> &Option<SignalDecoderType>
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.
This field is required.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 get_interface_id(&self) -> &Option<String>
pub fn get_interface_id(&self) -> &Option<String>
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 get_can_signal(&self) -> &Option<CanSignal>
pub fn get_can_signal(&self) -> &Option<CanSignal>
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 get_obd_signal(&self) -> &Option<ObdSignal>
pub fn get_obd_signal(&self) -> &Option<ObdSignal>
Information about signal decoder using the On-board diagnostic (OBD) II protocol.
sourcepub fn message_signal(self, input: MessageSignal) -> Self
pub fn message_signal(self, input: MessageSignal) -> Self
The decoding information for a specific message which supports higher order data types.
sourcepub fn set_message_signal(self, input: Option<MessageSignal>) -> Self
pub fn set_message_signal(self, input: Option<MessageSignal>) -> Self
The decoding information for a specific message which supports higher order data types.
sourcepub fn get_message_signal(&self) -> &Option<MessageSignal>
pub fn get_message_signal(&self) -> &Option<MessageSignal>
The decoding information for a specific message which supports higher order data types.
sourcepub fn build(self) -> Result<SignalDecoder, BuildError>
pub fn build(self) -> Result<SignalDecoder, BuildError>
Consumes the builder and constructs a SignalDecoder
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SignalDecoderBuilder
impl Clone for SignalDecoderBuilder
source§fn clone(&self) -> SignalDecoderBuilder
fn clone(&self) -> SignalDecoderBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SignalDecoderBuilder
impl Debug for SignalDecoderBuilder
source§impl Default for SignalDecoderBuilder
impl Default for SignalDecoderBuilder
source§fn default() -> SignalDecoderBuilder
fn default() -> SignalDecoderBuilder
source§impl PartialEq for SignalDecoderBuilder
impl PartialEq for SignalDecoderBuilder
source§fn eq(&self, other: &SignalDecoderBuilder) -> bool
fn eq(&self, other: &SignalDecoderBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.