Struct aws_sdk_iotfleetwise::error::invalid_node_exception::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for InvalidNodeException
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn invalid_nodes(self, input: Node) -> Self
pub fn invalid_nodes(self, input: Node) -> Self
Appends an item to invalid_nodes
.
To override the contents of this collection use set_invalid_nodes
.
The specified node type isn't valid.
sourcepub fn set_invalid_nodes(self, input: Option<Vec<Node>>) -> Self
pub fn set_invalid_nodes(self, input: Option<Vec<Node>>) -> Self
The specified node type isn't valid.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
The reason the node validation failed.
pub fn message(self, input: impl Into<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
sourcepub fn build(self) -> InvalidNodeException
pub fn build(self) -> InvalidNodeException
Consumes the builder and constructs a InvalidNodeException
.