@Generated(value="software.amazon.awssdk:codegen") public final class VehicleStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VehicleStatus.Builder,VehicleStatus>
Information about the state of a vehicle and how it relates to the status of a campaign.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VehicleStatus.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VehicleStatus.Builder |
builder() |
String |
campaignName()
The name of a campaign.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends VehicleStatus.Builder> |
serializableBuilderClass() |
VehicleState |
status()
The state of a vehicle, which can be one of the following:
|
String |
statusAsString()
The state of a vehicle, which can be one of the following:
|
VehicleStatus.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vehicleName()
The unique ID of the vehicle.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String campaignName()
The name of a campaign.
public final String vehicleName()
The unique ID of the vehicle.
public final 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.
If the service returns an enum value that is not available in the current SDK version, status will
return VehicleState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
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 final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, status will
return VehicleState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VehicleStatus.Builder,VehicleStatus>public static VehicleStatus.Builder builder()
public static Class<? extends VehicleStatus.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.