asServiceNow

Casts this ProviderDetail as a ServiceNow and retrieves its aws.sdk.kotlin.services.securityhub.model.ServiceNowDetail value. Throws an exception if the ProviderDetail is not a ServiceNow.