asBearerTokenOrNull
Casts this McpServerAuthorizationConfig as a BearerToken and retrieves its aws.sdk.kotlin.services.devopsagent.model.McpServerBearerTokenConfig value. Returns null if the McpServerAuthorizationConfig is not a BearerToken.