Command.Builder

abstract class Command.Builder


Builder for Command.

Summary

Public functions

abstract Command!
Command.Builder!

Clears any previously set Status.

Command.Builder!

The status of the clear apps data command.

Command.Builder!

The status of the clear apps data command.

abstract Command.Builder!

A unique id for this instance of the command.

abstract Command.Builder!

The time at which this command was completed.

abstract Command.Builder!

The time at which this command was created.

Command.Builder!

The status of the install custom app command.

Command.Builder!

The status of the install custom app command.

Command.Builder!

The status of the RequestDeviceInfo command.

Command.Builder!

The status of the RequestDeviceInfo command.

abstract Command.Builder!

The state of this command.

Command.Builder!

The status of the uninstall custom app command.

Command.Builder!

The status of the uninstall custom app command.

Public functions

build

abstract fun build(): Command!

clearStatus

fun clearStatus(): Command.Builder!

Clears any previously set Status.

setClearAppsDataStatus

fun setClearAppsDataStatus(value: Command.ClearAppsDataStatus!): Command.Builder!

The status of the clear apps data command.

setClearAppsDataStatus

fun setClearAppsDataStatus(value: Command.ClearAppsDataStatus.Builder!): Command.Builder!

The status of the clear apps data command.

setCommandId

abstract fun setCommandId(value: String!): Command.Builder!

A unique id for this instance of the command.

setCompleteTime

abstract fun setCompleteTime(value: Instant!): Command.Builder!

The time at which this command was completed.

setCreateTime

abstract fun setCreateTime(value: Instant!): Command.Builder!

The time at which this command was created.

setInstallCustomAppStatus

fun setInstallCustomAppStatus(value: Command.CustomAppOperationStatus!): Command.Builder!

The status of the install custom app command.

setInstallCustomAppStatus

fun setInstallCustomAppStatus(
    value: Command.CustomAppOperationStatus.Builder!
): Command.Builder!

The status of the install custom app command.

setRequestDeviceInfoStatus

fun setRequestDeviceInfoStatus(value: Command.RequestDeviceInfoStatus!): Command.Builder!

The status of the RequestDeviceInfo command.

setRequestDeviceInfoStatus

fun setRequestDeviceInfoStatus(
    value: Command.RequestDeviceInfoStatus.Builder!
): Command.Builder!

The status of the RequestDeviceInfo command.

setState

abstract fun setState(value: Command.State!): Command.Builder!

The state of this command.

setUninstallCustomAppStatus

fun setUninstallCustomAppStatus(value: Command.CustomAppOperationStatus!): Command.Builder!

The status of the uninstall custom app command.

setUninstallCustomAppStatus

fun setUninstallCustomAppStatus(
    value: Command.CustomAppOperationStatus.Builder!
): Command.Builder!

The status of the uninstall custom app command.