Struct aws_sdk_iotfleetwise::model::obd_interface::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ObdInterface
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn request_message_id(self, input: i32) -> Self
pub fn request_message_id(self, input: i32) -> Self
The ID of the message requesting vehicle data.
sourcepub fn set_request_message_id(self, input: Option<i32>) -> Self
pub fn set_request_message_id(self, input: Option<i32>) -> Self
The ID of the message requesting vehicle data.
sourcepub fn obd_standard(self, input: impl Into<String>) -> Self
pub fn obd_standard(self, input: impl Into<String>) -> Self
The standard OBD II PID.
sourcepub fn set_obd_standard(self, input: Option<String>) -> Self
pub fn set_obd_standard(self, input: Option<String>) -> Self
The standard OBD II PID.
sourcepub fn pid_request_interval_seconds(self, input: i32) -> Self
pub fn pid_request_interval_seconds(self, input: i32) -> Self
The maximum number message requests per second.
sourcepub fn set_pid_request_interval_seconds(self, input: Option<i32>) -> Self
pub fn set_pid_request_interval_seconds(self, input: Option<i32>) -> Self
The maximum number message requests per second.
sourcepub fn dtc_request_interval_seconds(self, input: i32) -> Self
pub fn dtc_request_interval_seconds(self, input: i32) -> Self
The maximum number message requests per diagnostic trouble code per second.
sourcepub fn set_dtc_request_interval_seconds(self, input: Option<i32>) -> Self
pub fn set_dtc_request_interval_seconds(self, input: Option<i32>) -> Self
The maximum number message requests per diagnostic trouble code per second.
sourcepub fn use_extended_ids(self, input: bool) -> Self
pub fn use_extended_ids(self, input: bool) -> Self
Whether to use extended IDs in the message.
sourcepub fn set_use_extended_ids(self, input: Option<bool>) -> Self
pub fn set_use_extended_ids(self, input: Option<bool>) -> Self
Whether to use extended IDs in the message.
sourcepub fn has_transmission_ecu(self, input: bool) -> Self
pub fn has_transmission_ecu(self, input: bool) -> Self
Whether the vehicle has a transmission control module (TCM).
sourcepub fn set_has_transmission_ecu(self, input: Option<bool>) -> Self
pub fn set_has_transmission_ecu(self, input: Option<bool>) -> Self
Whether the vehicle has a transmission control module (TCM).
sourcepub fn build(self) -> ObdInterface
pub fn build(self) -> ObdInterface
Consumes the builder and constructs a ObdInterface
.