asUnlockOrNull

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.