Struct aws_sdk_iotfleetwise::types::builders::VehicleSummaryBuilder
source · #[non_exhaustive]pub struct VehicleSummaryBuilder { /* private fields */ }Expand description
A builder for VehicleSummary.
Implementations§
source§impl VehicleSummaryBuilder
impl VehicleSummaryBuilder
sourcepub fn vehicle_name(self, input: impl Into<String>) -> Self
pub fn vehicle_name(self, input: impl Into<String>) -> Self
The unique ID of the vehicle.
This field is required.sourcepub fn set_vehicle_name(self, input: Option<String>) -> Self
pub fn set_vehicle_name(self, input: Option<String>) -> Self
The unique ID of the vehicle.
sourcepub fn get_vehicle_name(&self) -> &Option<String>
pub fn get_vehicle_name(&self) -> &Option<String>
The unique ID of the vehicle.
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.
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.
sourcepub fn model_manifest_arn(self, input: impl Into<String>) -> Self
pub fn model_manifest_arn(self, input: impl Into<String>) -> Self
The ARN of a vehicle model (model manifest) associated with the vehicle.
This field is required.sourcepub fn set_model_manifest_arn(self, input: Option<String>) -> Self
pub fn set_model_manifest_arn(self, input: Option<String>) -> Self
The ARN of a vehicle model (model manifest) associated with the vehicle.
sourcepub fn get_model_manifest_arn(&self) -> &Option<String>
pub fn get_model_manifest_arn(&self) -> &Option<String>
The ARN of a vehicle model (model manifest) associated with the vehicle.
sourcepub fn decoder_manifest_arn(self, input: impl Into<String>) -> Self
pub fn decoder_manifest_arn(self, input: impl Into<String>) -> Self
The ARN of a decoder manifest associated with the vehicle.
This field is required.sourcepub fn set_decoder_manifest_arn(self, input: Option<String>) -> Self
pub fn set_decoder_manifest_arn(self, input: Option<String>) -> Self
The ARN of a decoder manifest associated with the vehicle.
sourcepub fn get_decoder_manifest_arn(&self) -> &Option<String>
pub fn get_decoder_manifest_arn(&self) -> &Option<String>
The ARN of a decoder manifest associated with the vehicle.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time the vehicle 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 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 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 time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
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 time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
sourcepub fn get_last_modification_time(&self) -> &Option<DateTime>
pub fn get_last_modification_time(&self) -> &Option<DateTime>
The time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
sourcepub fn build(self) -> Result<VehicleSummary, BuildError>
pub fn build(self) -> Result<VehicleSummary, BuildError>
Consumes the builder and constructs a VehicleSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VehicleSummaryBuilder
impl Clone for VehicleSummaryBuilder
source§fn clone(&self) -> VehicleSummaryBuilder
fn clone(&self) -> VehicleSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VehicleSummaryBuilder
impl Debug for VehicleSummaryBuilder
source§impl Default for VehicleSummaryBuilder
impl Default for VehicleSummaryBuilder
source§fn default() -> VehicleSummaryBuilder
fn default() -> VehicleSummaryBuilder
source§impl PartialEq for VehicleSummaryBuilder
impl PartialEq for VehicleSummaryBuilder
source§fn eq(&self, other: &VehicleSummaryBuilder) -> bool
fn eq(&self, other: &VehicleSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.