asBearerToken
Casts this RemoteAgentAuthorizationConfig as a BearerToken and retrieves its aws.sdk.kotlin.services.devopsagent.model.RemoteAgentBearerTokenConfig value. Throws an exception if the RemoteAgentAuthorizationConfig is not a BearerToken.