Struct aws_sdk_iotfleetwise::operation::update_model_manifest::builders::UpdateModelManifestFluentBuilder
source · pub struct UpdateModelManifestFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateModelManifest
.
Updates a vehicle model (model manifest). If created vehicles are associated with a vehicle model, it can't be updated.
Implementations§
source§impl UpdateModelManifestFluentBuilder
impl UpdateModelManifestFluentBuilder
sourcepub fn as_input(&self) -> &UpdateModelManifestInputBuilder
pub fn as_input(&self) -> &UpdateModelManifestInputBuilder
Access the UpdateModelManifest as a reference.
sourcepub async fn send(
self
) -> Result<UpdateModelManifestOutput, SdkError<UpdateModelManifestError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateModelManifestOutput, SdkError<UpdateModelManifestError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateModelManifestOutput, UpdateModelManifestError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateModelManifestOutput, UpdateModelManifestError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 nodesToAdd
.
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 nodesToRemove
.
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.
Trait Implementations§
source§impl Clone for UpdateModelManifestFluentBuilder
impl Clone for UpdateModelManifestFluentBuilder
source§fn clone(&self) -> UpdateModelManifestFluentBuilder
fn clone(&self) -> UpdateModelManifestFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more