Struct aws_sdk_iotfleetwise::operation::update_model_manifest::builders::UpdateModelManifestInputBuilder
source · #[non_exhaustive]pub struct UpdateModelManifestInputBuilder { /* private fields */ }Expand description
A builder for UpdateModelManifestInput.
Implementations§
source§impl UpdateModelManifestInputBuilder
impl UpdateModelManifestInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the vehicle model to update.
This field is required.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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 get_nodes_to_add(&self) -> &Option<Vec<String>>
pub fn get_nodes_to_add(&self) -> &Option<Vec<String>>
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 get_nodes_to_remove(&self) -> &Option<Vec<String>>
pub fn get_nodes_to_remove(&self) -> &Option<Vec<String>>
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 get_status(&self) -> &Option<ManifestStatus>
pub fn get_status(&self) -> &Option<ManifestStatus>
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.
source§impl UpdateModelManifestInputBuilder
impl UpdateModelManifestInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateModelManifestOutput, SdkError<UpdateModelManifestError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateModelManifestOutput, SdkError<UpdateModelManifestError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateModelManifestInputBuilder
impl Clone for UpdateModelManifestInputBuilder
source§fn clone(&self) -> UpdateModelManifestInputBuilder
fn clone(&self) -> UpdateModelManifestInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateModelManifestInputBuilder
impl Default for UpdateModelManifestInputBuilder
source§fn default() -> UpdateModelManifestInputBuilder
fn default() -> UpdateModelManifestInputBuilder
source§impl PartialEq for UpdateModelManifestInputBuilder
impl PartialEq for UpdateModelManifestInputBuilder
source§fn eq(&self, other: &UpdateModelManifestInputBuilder) -> bool
fn eq(&self, other: &UpdateModelManifestInputBuilder) -> bool
self and other values to be equal, and is used
by ==.