asDisabled

Casts this Logging as a Disabled and retrieves its aws.sdk.kotlin.services.lambdamicrovms.model.LoggingDisabled value. Throws an exception if the Logging is not a Disabled.