Command.Builder

abstract class Builder
kotlin.Any
   ↳ com.google.android.managementapi.commands.model.Command.Builder

Builder for Command.

Summary

Public methods

abstract Command!

open Command.Builder!

Clears any previously set status.

open Command.Builder!

Command.

open Command.Builder!

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

abstract fun build(): Command!

clearStatus

open fun clearStatus(): Command.Builder!

Clears any previously set status.

setClearAppsDataStatus

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

Command.ClearAppDataStatus of this command.

setClearAppsDataStatus

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

Command.ClearAppDataStatus.Builder of this 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.