Class CfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty>
- Enclosing interface:
CfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty
@Stability(Stable)
public static final class CfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizationEndpoint(String authorizationEndpoint) build()Builds the configured instance.responseTypes(List<String> responseTypes) tokenEndpoint(String tokenEndpoint)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationEndpoint
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty.Builder authorizationEndpoint(String authorizationEndpoint) Sets the value ofCfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty.getAuthorizationEndpoint()- Parameters:
authorizationEndpoint- The authorization endpoint URL. This parameter is required.- Returns:
this
-
issuer
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty.Builder issuer(String issuer) - Parameters:
issuer- The issuer URL for the OAuth2 authorization server. This parameter is required.- Returns:
this
-
tokenEndpoint
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty.Builder tokenEndpoint(String tokenEndpoint) Sets the value ofCfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty.getTokenEndpoint()- Parameters:
tokenEndpoint- The token endpoint URL. This parameter is required.- Returns:
this
-
responseTypes
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty.Builder responseTypes(List<String> responseTypes) Sets the value ofCfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty.getResponseTypes()- Parameters:
responseTypes- The supported response types.- Returns:
this
-
build
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty>- Returns:
- a new instance of
CfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty - Throws:
NullPointerException- if any required attribute was not provided
-