#[non_exhaustive]pub struct GetVehicleOutputBuilder { /* private fields */ }Expand description
A builder for GetVehicleOutput.
Implementations§
source§impl GetVehicleOutputBuilder
impl GetVehicleOutputBuilder
sourcepub fn vehicle_name(self, input: impl Into<String>) -> Self
pub fn vehicle_name(self, input: impl Into<String>) -> Self
The ID of the vehicle.
sourcepub fn set_vehicle_name(self, input: Option<String>) -> Self
pub fn set_vehicle_name(self, input: Option<String>) -> Self
The ID of the vehicle.
sourcepub fn get_vehicle_name(&self) -> &Option<String>
pub fn get_vehicle_name(&self) -> &Option<String>
The 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 to retrieve information about.
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 to retrieve information about.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the vehicle to retrieve information about.
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.
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.
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 attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to attributes.
To override the contents of this collection use set_attributes.
Static information about a vehicle in a key-value pair. For example:
"engineType" : "1.3 L R2"
sourcepub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
Static information about a vehicle in a key-value pair. For example:
"engineType" : "1.3 L R2"
sourcepub fn get_attributes(&self) -> &Option<HashMap<String, String>>
pub fn get_attributes(&self) -> &Option<HashMap<String, String>>
Static information about a vehicle in a key-value pair. For example:
"engineType" : "1.3 L R2"
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).
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).
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) -> GetVehicleOutput
pub fn build(self) -> GetVehicleOutput
Consumes the builder and constructs a GetVehicleOutput.
Trait Implementations§
source§impl Clone for GetVehicleOutputBuilder
impl Clone for GetVehicleOutputBuilder
source§fn clone(&self) -> GetVehicleOutputBuilder
fn clone(&self) -> GetVehicleOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetVehicleOutputBuilder
impl Debug for GetVehicleOutputBuilder
source§impl Default for GetVehicleOutputBuilder
impl Default for GetVehicleOutputBuilder
source§fn default() -> GetVehicleOutputBuilder
fn default() -> GetVehicleOutputBuilder
source§impl PartialEq for GetVehicleOutputBuilder
impl PartialEq for GetVehicleOutputBuilder
source§fn eq(&self, other: &GetVehicleOutputBuilder) -> bool
fn eq(&self, other: &GetVehicleOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetVehicleOutputBuilder
Auto Trait Implementations§
impl Freeze for GetVehicleOutputBuilder
impl RefUnwindSafe for GetVehicleOutputBuilder
impl Send for GetVehicleOutputBuilder
impl Sync for GetVehicleOutputBuilder
impl Unpin for GetVehicleOutputBuilder
impl UnwindSafe for GetVehicleOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more