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.

abstract Command.Builder

The state of this command.

Public methods

build

public abstract Command build()

clearStatus

@CanIgnoreReturnValue
public Command.Builder clearStatus()

Clears any previously set Status.

setClearAppsDataStatus

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

The status of the clear apps data command.

setClearAppsDataStatus

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

setState

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

The state of this command.