Class CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty>
- Enclosing interface:
CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty
@Stability(Stable)
public static final class CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizationServerMetadata(CfnOAuth2CredentialProviderPropsMixin.Oauth2AuthorizationServerMetadataProperty authorizationServerMetadata) authorizationServerMetadata(IResolvable authorizationServerMetadata) build()Builds the configured instance.discoveryUrl(String discoveryUrl)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationServerMetadata
@Stability(Stable) public CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty.Builder authorizationServerMetadata(IResolvable authorizationServerMetadata) Sets the value ofCfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty.getAuthorizationServerMetadata()- Parameters:
authorizationServerMetadata- Authorization server metadata for the OAuth2 provider.- Returns:
this
-
authorizationServerMetadata
@Stability(Stable) public CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty.Builder authorizationServerMetadata(CfnOAuth2CredentialProviderPropsMixin.Oauth2AuthorizationServerMetadataProperty authorizationServerMetadata) Sets the value ofCfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty.getAuthorizationServerMetadata()- Parameters:
authorizationServerMetadata- Authorization server metadata for the OAuth2 provider.- Returns:
this
-
discoveryUrl
@Stability(Stable) public CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty.Builder discoveryUrl(String discoveryUrl) - Parameters:
discoveryUrl- The discovery URL for the OAuth2 provider.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty>- Returns:
- a new instance of
CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty - Throws:
NullPointerException- if any required attribute was not provided
-