Struct aws_sdk_iotfleetwise::model::invalid_signal::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for InvalidSignal
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
A message about why the signal isn't valid.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
A message about why the signal isn't valid.
sourcepub fn build(self) -> InvalidSignal
pub fn build(self) -> InvalidSignal
Consumes the builder and constructs a InvalidSignal
.