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.clientAuthenticationMethod(String clientAuthenticationMethod) oauthDiscovery(IResolvable oauthDiscovery) oauthDiscovery(CfnOAuth2CredentialProvider.Oauth2DiscoveryProperty oauthDiscovery) onBehalfOfTokenExchangeConfig(IResolvable onBehalfOfTokenExchangeConfig) onBehalfOfTokenExchangeConfig(CfnOAuth2CredentialProvider.OnBehalfOfTokenExchangeConfigProperty onBehalfOfTokenExchangeConfig) privateEndpoint(IResolvable privateEndpoint) privateEndpoint(CfnOAuth2CredentialProvider.PrivateEndpointProperty privateEndpoint) privateEndpointOverrides(List<? extends Object> privateEndpointOverrides) privateEndpointOverrides(IResolvable privateEndpointOverrides) privateKeyJwtConfig(IResolvable privateKeyJwtConfig) privateKeyJwtConfig(CfnOAuth2CredentialProvider.PrivateKeyJwtConfigProperty privateKeyJwtConfig)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientAuthenticationMethod
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder clientAuthenticationMethod(String clientAuthenticationMethod) Sets the value ofCfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.getClientAuthenticationMethod()- Parameters:
clientAuthenticationMethod- The client authentication method used when authenticating with the token endpoint.- Returns:
this
-
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
-
onBehalfOfTokenExchangeConfig
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder onBehalfOfTokenExchangeConfig(IResolvable onBehalfOfTokenExchangeConfig) Sets the value ofCfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.getOnBehalfOfTokenExchangeConfig()- Parameters:
onBehalfOfTokenExchangeConfig- Configuration for on-behalf-of token exchange.- Returns:
this
-
onBehalfOfTokenExchangeConfig
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder onBehalfOfTokenExchangeConfig(CfnOAuth2CredentialProvider.OnBehalfOfTokenExchangeConfigProperty onBehalfOfTokenExchangeConfig) Sets the value ofCfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.getOnBehalfOfTokenExchangeConfig()- Parameters:
onBehalfOfTokenExchangeConfig- Configuration for on-behalf-of token exchange.- Returns:
this
-
privateEndpoint
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder privateEndpoint(IResolvable privateEndpoint) Sets the value ofCfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.getPrivateEndpoint()- Parameters:
privateEndpoint- The private endpoint configuration for connecting to private resources in your VPC.- Returns:
this
-
privateEndpoint
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder privateEndpoint(CfnOAuth2CredentialProvider.PrivateEndpointProperty privateEndpoint) Sets the value ofCfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.getPrivateEndpoint()- Parameters:
privateEndpoint- The private endpoint configuration for connecting to private resources in your VPC.- Returns:
this
-
privateEndpointOverrides
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder privateEndpointOverrides(IResolvable privateEndpointOverrides) Sets the value ofCfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.getPrivateEndpointOverrides()- Parameters:
privateEndpointOverrides- The list of private endpoint overrides for the OAuth2 provider. Each override maps a specific domain to a private endpoint, enabling secure connectivity through VPC Lattice resource configurations.- Returns:
this
-
privateEndpointOverrides
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder privateEndpointOverrides(List<? extends Object> privateEndpointOverrides) Sets the value ofCfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.getPrivateEndpointOverrides()- Parameters:
privateEndpointOverrides- The list of private endpoint overrides for the OAuth2 provider. Each override maps a specific domain to a private endpoint, enabling secure connectivity through VPC Lattice resource configurations.- Returns:
this
-
privateKeyJwtConfig
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder privateKeyJwtConfig(IResolvable privateKeyJwtConfig) Sets the value ofCfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.getPrivateKeyJwtConfig()- Parameters:
privateKeyJwtConfig- Configuration for private_key_jwt client authentication (RFC 7523).- Returns:
this
-
privateKeyJwtConfig
@Stability(Stable) public CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Builder privateKeyJwtConfig(CfnOAuth2CredentialProvider.PrivateKeyJwtConfigProperty privateKeyJwtConfig) Sets the value ofCfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.getPrivateKeyJwtConfig()- Parameters:
privateKeyJwtConfig- Configuration for private_key_jwt client authentication (RFC 7523).- 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
-