/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.iotfleetwise.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Information about the state of a vehicle and how it relates to the status of a campaign. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class VehicleStatus implements Serializable, Cloneable, StructuredPojo { /** ** The name of a campaign. *
*/ private String campaignName; /** ** The unique ID of the vehicle. *
*/ private String vehicleName; /** ** 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.
*
* The name of a campaign. *
* * @param campaignName * The name of a campaign. */ public void setCampaignName(String campaignName) { this.campaignName = campaignName; } /** ** The name of a campaign. *
* * @return The name of a campaign. */ public String getCampaignName() { return this.campaignName; } /** ** The name of a campaign. *
* * @param campaignName * The name of a campaign. * @return Returns a reference to this object so that method calls can be chained together. */ public VehicleStatus withCampaignName(String campaignName) { setCampaignName(campaignName); return this; } /** ** The unique ID of the vehicle. *
* * @param vehicleName * The unique ID of the vehicle. */ public void setVehicleName(String vehicleName) { this.vehicleName = vehicleName; } /** ** The unique ID of the vehicle. *
* * @return The unique ID of the vehicle. */ public String getVehicleName() { return this.vehicleName; } /** ** The unique ID of the vehicle. *
* * @param vehicleName * The unique ID of the vehicle. * @return Returns a reference to this object so that method calls can be chained together. */ public VehicleStatus withVehicleName(String vehicleName) { setVehicleName(vehicleName); return this; } /** ** 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*