pub struct UpdateModelManifest { /* 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 UpdateModelManifest
impl UpdateModelManifest
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateModelManifest, AwsResponseRetryClassifier>, SdkError<UpdateModelManifestError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateModelManifest, AwsResponseRetryClassifier>, SdkError<UpdateModelManifestError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateModelManifestOutput, SdkError<UpdateModelManifestError>>
pub async fn send(
self
) -> Result<UpdateModelManifestOutput, SdkError<UpdateModelManifestError>>
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 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 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 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 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.
Trait Implementations§
source§impl Clone for UpdateModelManifest
impl Clone for UpdateModelManifest
source§fn clone(&self) -> UpdateModelManifest
fn clone(&self) -> UpdateModelManifest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more