Struct aws_sdk_iotfleetwise::model::can_signal::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CanSignal
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn message_id(self, input: i32) -> Self
pub fn message_id(self, input: i32) -> Self
The ID of the message.
sourcepub fn set_message_id(self, input: Option<i32>) -> Self
pub fn set_message_id(self, input: Option<i32>) -> Self
The ID of the message.
sourcepub fn is_big_endian(self, input: bool) -> Self
pub fn is_big_endian(self, input: bool) -> Self
Whether the byte ordering of a CAN message is big-endian.
sourcepub fn set_is_big_endian(self, input: Option<bool>) -> Self
pub fn set_is_big_endian(self, input: Option<bool>) -> Self
Whether the byte ordering of a CAN message is big-endian.
sourcepub fn is_signed(self, input: bool) -> Self
pub fn is_signed(self, input: bool) -> Self
Whether the message data is specified as a signed value.
sourcepub fn set_is_signed(self, input: Option<bool>) -> Self
pub fn set_is_signed(self, input: Option<bool>) -> Self
Whether the message data is specified as a signed value.
sourcepub fn set_start_bit(self, input: Option<i32>) -> Self
pub fn set_start_bit(self, input: Option<i32>) -> Self
Indicates the beginning of the CAN message.
sourcepub fn set_offset(self, input: Option<f64>) -> Self
pub fn set_offset(self, input: Option<f64>) -> Self
Indicates where data appears in the CAN message.
sourcepub fn set_factor(self, input: Option<f64>) -> Self
pub fn set_factor(self, input: Option<f64>) -> Self
A multiplier used to decode the CAN message.
sourcepub fn set_length(self, input: Option<i32>) -> Self
pub fn set_length(self, input: Option<i32>) -> Self
How many bytes of data are in the message.