asOauthOrNull
Casts this HarnessGatewayOutboundAuth as a Oauth and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.OAuthCredentialProvider value. Returns null if the HarnessGatewayOutboundAuth is not a Oauth.
Casts this HarnessGatewayOutboundAuth as a Oauth and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.OAuthCredentialProvider value. Returns null if the HarnessGatewayOutboundAuth is not a Oauth.