Struct aws_sdk_iotfleetwise::types::builders::VehicleStatusBuilder
source · #[non_exhaustive]pub struct VehicleStatusBuilder { /* private fields */ }
Expand description
A builder for VehicleStatus
.
Implementations§
source§impl VehicleStatusBuilder
impl VehicleStatusBuilder
sourcepub fn campaign_name(self, input: impl Into<String>) -> Self
pub fn campaign_name(self, input: impl Into<String>) -> Self
The name of a campaign.
sourcepub fn set_campaign_name(self, input: Option<String>) -> Self
pub fn set_campaign_name(self, input: Option<String>) -> Self
The name of a campaign.
sourcepub fn get_campaign_name(&self) -> &Option<String>
pub fn get_campaign_name(&self) -> &Option<String>
The name of a campaign.
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.
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 status(self, input: VehicleState) -> Self
pub fn status(self, input: VehicleState) -> Self
The state of a vehicle, which can be one of the following:
-
CREATED
- Amazon Web Services IoT FleetWise sucessfully created the vehicle. -
READY
- The vehicle is ready to receive a campaign deployment. -
HEALTHY
- A campaign deployment was delivered to the vehicle. -
SUSPENDED
- A campaign associated with the vehicle was suspended and data collection was paused. -
DELETING
- Amazon Web Services IoT FleetWise is removing a campaign from the vehicle.
sourcepub fn set_status(self, input: Option<VehicleState>) -> Self
pub fn set_status(self, input: Option<VehicleState>) -> Self
The state of a vehicle, which can be one of the following:
-
CREATED
- Amazon Web Services IoT FleetWise sucessfully created the vehicle. -
READY
- The vehicle is ready to receive a campaign deployment. -
HEALTHY
- A campaign deployment was delivered to the vehicle. -
SUSPENDED
- A campaign associated with the vehicle was suspended and data collection was paused. -
DELETING
- Amazon Web Services IoT FleetWise is removing a campaign from the vehicle.
sourcepub fn get_status(&self) -> &Option<VehicleState>
pub fn get_status(&self) -> &Option<VehicleState>
The state of a vehicle, which can be one of the following:
-
CREATED
- Amazon Web Services IoT FleetWise sucessfully created the vehicle. -
READY
- The vehicle is ready to receive a campaign deployment. -
HEALTHY
- A campaign deployment was delivered to the vehicle. -
SUSPENDED
- A campaign associated with the vehicle was suspended and data collection was paused. -
DELETING
- Amazon Web Services IoT FleetWise is removing a campaign from the vehicle.
sourcepub fn build(self) -> VehicleStatus
pub fn build(self) -> VehicleStatus
Consumes the builder and constructs a VehicleStatus
.
Trait Implementations§
source§impl Clone for VehicleStatusBuilder
impl Clone for VehicleStatusBuilder
source§fn clone(&self) -> VehicleStatusBuilder
fn clone(&self) -> VehicleStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VehicleStatusBuilder
impl Debug for VehicleStatusBuilder
source§impl Default for VehicleStatusBuilder
impl Default for VehicleStatusBuilder
source§fn default() -> VehicleStatusBuilder
fn default() -> VehicleStatusBuilder
source§impl PartialEq for VehicleStatusBuilder
impl PartialEq for VehicleStatusBuilder
source§fn eq(&self, other: &VehicleStatusBuilder) -> bool
fn eq(&self, other: &VehicleStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.