Interface VehicleStatus.Builder

    • Method Detail

      • campaignName

        VehicleStatus.Builder campaignName​(String campaignName)

        The name of a campaign.

        Parameters:
        campaignName - The name of a campaign.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vehicleName

        VehicleStatus.Builder vehicleName​(String vehicleName)

        The unique ID of the vehicle.

        Parameters:
        vehicleName - The unique ID of the vehicle.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        VehicleStatus.Builder status​(String status)

        The status of a campaign, which can be one of the following:

        • CREATED - The campaign has been created successfully but has not been approved.

        • READY - The campaign has been approved but has not been deployed to the vehicle.

        • HEALTHY - The campaign has been deployed to the vehicle.

        • SUSPENDED - The campaign has been suspended and data collection is paused.

        • DELETING - The campaign is being removed from the vehicle.

        Parameters:
        status - The status of a campaign, which can be one of the following:

        • CREATED - The campaign has been created successfully but has not been approved.

        • READY - The campaign has been approved but has not been deployed to the vehicle.

        • HEALTHY - The campaign has been deployed to the vehicle.

        • SUSPENDED - The campaign has been suspended and data collection is paused.

        • DELETING - The campaign is being removed from the vehicle.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VehicleState, VehicleState
      • status

        VehicleStatus.Builder status​(VehicleState status)

        The status of a campaign, which can be one of the following:

        • CREATED - The campaign has been created successfully but has not been approved.

        • READY - The campaign has been approved but has not been deployed to the vehicle.

        • HEALTHY - The campaign has been deployed to the vehicle.

        • SUSPENDED - The campaign has been suspended and data collection is paused.

        • DELETING - The campaign is being removed from the vehicle.

        Parameters:
        status - The status of a campaign, which can be one of the following:

        • CREATED - The campaign has been created successfully but has not been approved.

        • READY - The campaign has been approved but has not been deployed to the vehicle.

        • HEALTHY - The campaign has been deployed to the vehicle.

        • SUSPENDED - The campaign has been suspended and data collection is paused.

        • DELETING - The campaign is being removed from the vehicle.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VehicleState, VehicleState