Struct aws_sdk_iotfleetwise::operation::get_model_manifest::builders::GetModelManifestOutputBuilder
source · #[non_exhaustive]pub struct GetModelManifestOutputBuilder { /* private fields */ }
Expand description
A builder for GetModelManifestOutput
.
Implementations§
source§impl GetModelManifestOutputBuilder
impl GetModelManifestOutputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the vehicle model.
This field is required.sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the vehicle model.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the vehicle model.
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 signal_catalog_arn(self, input: impl Into<String>) -> Self
pub fn signal_catalog_arn(self, input: impl Into<String>) -> Self
The ARN of the signal catalog associated with the vehicle model.
sourcepub fn set_signal_catalog_arn(self, input: Option<String>) -> Self
pub fn set_signal_catalog_arn(self, input: Option<String>) -> Self
The ARN of the signal catalog associated with the vehicle model.
sourcepub fn get_signal_catalog_arn(&self) -> &Option<String>
pub fn get_signal_catalog_arn(&self) -> &Option<String>
The ARN of the signal catalog associated with 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. You can edit the vehicle model if the status is marked DRAFT
.
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. You can edit the vehicle model if the status is marked DRAFT
.
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. You can edit the vehicle model if the status is marked DRAFT
.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time the vehicle model was created, in seconds since epoch (January 1, 1970 at midnight UTC time).
This field is required.sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time the vehicle model was created, in seconds since epoch (January 1, 1970 at midnight UTC time).
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time the vehicle model was created, in seconds since epoch (January 1, 1970 at midnight UTC time).
sourcepub fn last_modification_time(self, input: DateTime) -> Self
pub fn last_modification_time(self, input: DateTime) -> Self
The last time the vehicle model was modified.
This field is required.sourcepub fn set_last_modification_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modification_time(self, input: Option<DateTime>) -> Self
The last time the vehicle model was modified.
sourcepub fn get_last_modification_time(&self) -> &Option<DateTime>
pub fn get_last_modification_time(&self) -> &Option<DateTime>
The last time the vehicle model was modified.
sourcepub fn build(self) -> Result<GetModelManifestOutput, BuildError>
pub fn build(self) -> Result<GetModelManifestOutput, BuildError>
Consumes the builder and constructs a GetModelManifestOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetModelManifestOutputBuilder
impl Clone for GetModelManifestOutputBuilder
source§fn clone(&self) -> GetModelManifestOutputBuilder
fn clone(&self) -> GetModelManifestOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetModelManifestOutputBuilder
impl Default for GetModelManifestOutputBuilder
source§fn default() -> GetModelManifestOutputBuilder
fn default() -> GetModelManifestOutputBuilder
source§impl PartialEq for GetModelManifestOutputBuilder
impl PartialEq for GetModelManifestOutputBuilder
source§fn eq(&self, other: &GetModelManifestOutputBuilder) -> bool
fn eq(&self, other: &GetModelManifestOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.