Class VehicleStatus

    • Method Detail

      • campaignName

        public final String campaignName()

        The name of a campaign.

        Returns:
        The name of a campaign.
      • vehicleName

        public final String vehicleName()

        The unique ID of the vehicle.

        Returns:
        The unique ID of the vehicle.
      • status

        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().

        Returns:
        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.

        See Also:
        VehicleState
      • statusAsString

        public 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().

        Returns:
        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.

        See Also:
        VehicleState
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)