Command.Builder

public abstract class Command.Builder


Builder for Command.

Summary

Public methods

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 methods

build

public abstract Command build()

clearStatus

public Command.Builder clearStatus()

Clears any previously set Status.

setClearAppsDataStatus

public Command.Builder setClearAppsDataStatus(Command.ClearAppsDataStatus value)

The status of the clear apps data command.

setClearAppsDataStatus

public Command.Builder setClearAppsDataStatus(Command.ClearAppsDataStatus.Builder value)

The status of the clear apps data command.

setCommandId

public abstract Command.Builder setCommandId(String value)

A unique id for this instance of the command.

setCompleteTime

public abstract Command.Builder setCompleteTime(Instant value)

The time at which this command was completed.

setCreateTime

public abstract Command.Builder setCreateTime(Instant value)

The time at which this command was created.

setInstallCustomAppStatus

public Command.Builder setInstallCustomAppStatus(Command.CustomAppOperationStatus value)

The status of the install custom app command.

setInstallCustomAppStatus

public Command.Builder setInstallCustomAppStatus(
    Command.CustomAppOperationStatus.Builder value
)

The status of the install custom app command.

setRequestDeviceInfoStatus

public Command.Builder setRequestDeviceInfoStatus(Command.RequestDeviceInfoStatus value)

The status of the RequestDeviceInfo command.

setRequestDeviceInfoStatus

public Command.Builder setRequestDeviceInfoStatus(
    Command.RequestDeviceInfoStatus.Builder value
)

The status of the RequestDeviceInfo command.

setState

public abstract Command.Builder setState(Command.State value)

The state of this command.

setUninstallCustomAppStatus

public Command.Builder setUninstallCustomAppStatus(Command.CustomAppOperationStatus value)

The status of the uninstall custom app command.

setUninstallCustomAppStatus

public Command.Builder setUninstallCustomAppStatus(
    Command.CustomAppOperationStatus.Builder value
)

The status of the uninstall custom app command.