pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateModelManifestInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A brief description of the vehicle model.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A brief description of the vehicle model.
sourcepub fn nodes_to_add(self, input: impl Into<String>) -> Self
pub fn nodes_to_add(self, input: impl Into<String>) -> Self
Appends an item to nodes_to_add
.
To override the contents of this collection use set_nodes_to_add
.
A list of fullyQualifiedName
of nodes, which are a general abstraction of signals, to add to the vehicle model.
sourcepub fn set_nodes_to_add(self, input: Option<Vec<String>>) -> Self
pub fn set_nodes_to_add(self, input: Option<Vec<String>>) -> Self
A list of fullyQualifiedName
of nodes, which are a general abstraction of signals, to add to the vehicle model.
sourcepub fn nodes_to_remove(self, input: impl Into<String>) -> Self
pub fn nodes_to_remove(self, input: impl Into<String>) -> Self
Appends an item to nodes_to_remove
.
To override the contents of this collection use set_nodes_to_remove
.
A list of fullyQualifiedName
of nodes, which are a general abstraction of signals, to remove from the vehicle model.
sourcepub fn set_nodes_to_remove(self, input: Option<Vec<String>>) -> Self
pub fn set_nodes_to_remove(self, input: Option<Vec<String>>) -> Self
A list of fullyQualifiedName
of nodes, which are a general abstraction of signals, to remove from the vehicle model.
sourcepub fn status(self, input: ManifestStatus) -> Self
pub fn status(self, input: ManifestStatus) -> Self
The state of the vehicle model. If the status is ACTIVE
, the vehicle model can't be edited. If the status is DRAFT
, you can edit the vehicle model.
sourcepub fn set_status(self, input: Option<ManifestStatus>) -> Self
pub fn set_status(self, input: Option<ManifestStatus>) -> Self
The state of the vehicle model. If the status is ACTIVE
, the vehicle model can't be edited. If the status is DRAFT
, you can edit the vehicle model.
sourcepub fn build(self) -> Result<UpdateModelManifestInput, BuildError>
pub fn build(self) -> Result<UpdateModelManifestInput, BuildError>
Consumes the builder and constructs a UpdateModelManifestInput
.