@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VehicleStatus extends Object implements Serializable, Cloneable, StructuredPojo
Information about the state of a vehicle and how it relates to the status of a campaign.
| Constructor and Description | 
|---|
| VehicleStatus() | 
| Modifier and Type | Method and Description | 
|---|---|
| VehicleStatus | clone() | 
| boolean | equals(Object obj) | 
| String | getCampaignName()
 The name of a campaign. | 
| String | getStatus()
 The state of a vehicle, which can be one of the following: | 
| String | getVehicleName()
 The unique ID of the vehicle. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setCampaignName(String campaignName)
 The name of a campaign. | 
| void | setStatus(String status)
 The state of a vehicle, which can be one of the following: | 
| void | setVehicleName(String vehicleName)
 The unique ID of the vehicle. | 
| String | toString()Returns a string representation of this object. | 
| VehicleStatus | withCampaignName(String campaignName)
 The name of a campaign. | 
| VehicleStatus | withStatus(String status)
 The state of a vehicle, which can be one of the following: | 
| VehicleStatus | withStatus(VehicleState status)
 The state of a vehicle, which can be one of the following: | 
| VehicleStatus | withVehicleName(String vehicleName)
 The unique ID of the vehicle. | 
public void setCampaignName(String campaignName)
The name of a campaign.
campaignName - The name of a campaign.public String getCampaignName()
The name of a campaign.
public VehicleStatus withCampaignName(String campaignName)
The name of a campaign.
campaignName - The name of a campaign.public void setVehicleName(String vehicleName)
The unique ID of the vehicle.
vehicleName - The unique ID of the vehicle.public String getVehicleName()
The unique ID of the vehicle.
public VehicleStatus withVehicleName(String vehicleName)
The unique ID of the vehicle.
vehicleName - The unique ID of the vehicle.public void setStatus(String status)
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.
 
status - 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.
        
VehicleStatepublic String getStatus()
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.
         
VehicleStatepublic VehicleStatus withStatus(String status)
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.
 
status - 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.
        
VehicleStatepublic VehicleStatus withStatus(VehicleState status)
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.
 
status - 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.
        
VehicleStatepublic String toString()
toString in class ObjectObject.toString()public VehicleStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.