Command

sealed class Command

The command given to the device to execute.

Inheritors

Types

Link copied to clipboard
data class Reboot(val value: Reboot) : Command

Reboots the device.

Link copied to clipboard
Link copied to clipboard
data class Unlock(val value: Unlock) : Command

Unlocks the device.

Functions

Link copied to clipboard

Casts this Command as a Reboot and retrieves its aws.sdk.kotlin.services.snowdevicemanagement.model.Reboot value. Throws an exception if the Command is not a Reboot.

Link copied to clipboard

Casts this Command as a Reboot and retrieves its aws.sdk.kotlin.services.snowdevicemanagement.model.Reboot value. Returns null if the Command is not a Reboot.

Link copied to clipboard

Casts this Command as a Unlock and retrieves its aws.sdk.kotlin.services.snowdevicemanagement.model.Unlock value. Throws an exception if the Command is not a Unlock.

Link copied to clipboard

Casts this Command as a Unlock and retrieves its aws.sdk.kotlin.services.snowdevicemanagement.model.Unlock value. Returns null if the Command is not a Unlock.