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.

abstract Command.Builder!

The state of this command.

Public functions

build

abstract fun build(): Command!

clearStatus

@CanIgnoreReturnValue
fun clearStatus(): Command.Builder!

Clears any previously set Status.

setClearAppsDataStatus

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

The status of the clear apps data command.

setClearAppsDataStatus

@CanIgnoreReturnValue
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.

setState

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

The state of this command.