asApiKeyOrNull
Casts this NewRelicServiceAuthorizationConfig as a ApiKey and retrieves its aws.sdk.kotlin.services.devopsagent.model.NewRelicApiKeyConfig value. Returns null if the NewRelicServiceAuthorizationConfig is not a ApiKey.