Class CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty>
- Enclosing interface:
CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty
@Stability(Stable)
public static final class CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.oauthDiscovery(IResolvable oauthDiscovery) oauthDiscovery(CfnOAuth2CredentialProvider.Oauth2DiscoveryProperty oauthDiscovery)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientId
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder clientId(String clientId) - Parameters:
clientId- the value to be set.- Returns:
this
-
oauthDiscovery
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder oauthDiscovery(IResolvable oauthDiscovery) Sets the value ofCfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.getOauthDiscovery()- Parameters:
oauthDiscovery- Discovery information for an OAuth2 provider.- Returns:
this
-
oauthDiscovery
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder oauthDiscovery(CfnOAuth2CredentialProvider.Oauth2DiscoveryProperty oauthDiscovery) Sets the value ofCfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.getOauthDiscovery()- Parameters:
oauthDiscovery- Discovery information for an OAuth2 provider.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty>- Returns:
- a new instance of
CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty - Throws:
NullPointerException- if any required attribute was not provided
-