Struct aws_sdk_iotfleetwise::model::can_interface::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CanInterface
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn protocol_name(self, input: impl Into<String>) -> Self
pub fn protocol_name(self, input: impl Into<String>) -> Self
The name of the communication protocol for the interface.
sourcepub fn set_protocol_name(self, input: Option<String>) -> Self
pub fn set_protocol_name(self, input: Option<String>) -> Self
The name of the communication protocol for the interface.
sourcepub fn protocol_version(self, input: impl Into<String>) -> Self
pub fn protocol_version(self, input: impl Into<String>) -> Self
The version of the communication protocol for the interface.
sourcepub fn set_protocol_version(self, input: Option<String>) -> Self
pub fn set_protocol_version(self, input: Option<String>) -> Self
The version of the communication protocol for the interface.
sourcepub fn build(self) -> CanInterface
pub fn build(self) -> CanInterface
Consumes the builder and constructs a CanInterface
.