#[non_exhaustive]pub struct CreateVehicleInput {
pub vehicle_name: Option<String>,
pub model_manifest_arn: Option<String>,
pub decoder_manifest_arn: Option<String>,
pub attributes: Option<HashMap<String, String>>,
pub association_behavior: Option<VehicleAssociationBehavior>,
pub tags: Option<Vec<Tag>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.vehicle_name: Option<String>The unique ID of the vehicle to create.
model_manifest_arn: Option<String>The Amazon Resource Name ARN of a vehicle model.
decoder_manifest_arn: Option<String>The ARN of a decoder manifest.
attributes: Option<HashMap<String, String>>Static information about a vehicle in a key-value pair. For example: "engineType" : "1.3 L R2"
A campaign must include the keys (attribute names) in dataExtraDimensions for them to display in Amazon Timestream.
association_behavior: Option<VehicleAssociationBehavior>An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing Amazon Web Services IoT thing as a vehicle.
Default:
Metadata that can be used to manage the vehicle.
Implementations§
source§impl CreateVehicleInput
impl CreateVehicleInput
sourcepub fn vehicle_name(&self) -> Option<&str>
pub fn vehicle_name(&self) -> Option<&str>
The unique ID of the vehicle to create.
sourcepub fn model_manifest_arn(&self) -> Option<&str>
pub fn model_manifest_arn(&self) -> Option<&str>
The Amazon Resource Name ARN of a vehicle model.
sourcepub fn decoder_manifest_arn(&self) -> Option<&str>
pub fn decoder_manifest_arn(&self) -> Option<&str>
The ARN of a decoder manifest.
sourcepub fn attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
Static information about a vehicle in a key-value pair. For example: "engineType" : "1.3 L R2"
A campaign must include the keys (attribute names) in dataExtraDimensions for them to display in Amazon Timestream.
sourcepub fn association_behavior(&self) -> Option<&VehicleAssociationBehavior>
pub fn association_behavior(&self) -> Option<&VehicleAssociationBehavior>
An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing Amazon Web Services IoT thing as a vehicle.
Default:
Metadata that can be used to manage the vehicle.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateVehicleInput
impl CreateVehicleInput
sourcepub fn builder() -> CreateVehicleInputBuilder
pub fn builder() -> CreateVehicleInputBuilder
Creates a new builder-style object to manufacture CreateVehicleInput.
Trait Implementations§
source§impl Clone for CreateVehicleInput
impl Clone for CreateVehicleInput
source§fn clone(&self) -> CreateVehicleInput
fn clone(&self) -> CreateVehicleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateVehicleInput
impl Debug for CreateVehicleInput
source§impl PartialEq for CreateVehicleInput
impl PartialEq for CreateVehicleInput
source§fn eq(&self, other: &CreateVehicleInput) -> bool
fn eq(&self, other: &CreateVehicleInput) -> bool
self and other values to be equal, and is used
by ==.