Class CfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty>
- Enclosing interface:
CfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty
@Stability(Stable)
public static final class CfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.tokenExchangeGrantTypeConfig(CfnOAuth2CredentialProviderPropsMixin.TokenExchangeGrantTypeConfigProperty tokenExchangeGrantTypeConfig) tokenExchangeGrantTypeConfig(IResolvable tokenExchangeGrantTypeConfig)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
grantType
@Stability(Stable) public CfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty.Builder grantType(String grantType) Sets the value ofCfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty.getGrantType()- Parameters:
grantType- The grant type for on-behalf-of token exchange.- Returns:
this
-
tokenExchangeGrantTypeConfig
@Stability(Stable) public CfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty.Builder tokenExchangeGrantTypeConfig(IResolvable tokenExchangeGrantTypeConfig) Sets the value ofCfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty.getTokenExchangeGrantTypeConfig()- Parameters:
tokenExchangeGrantTypeConfig- Configuration for RFC 8693 Token Exchange.- Returns:
this
-
tokenExchangeGrantTypeConfig
@Stability(Stable) public CfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty.Builder tokenExchangeGrantTypeConfig(CfnOAuth2CredentialProviderPropsMixin.TokenExchangeGrantTypeConfigProperty tokenExchangeGrantTypeConfig) Sets the value ofCfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty.getTokenExchangeGrantTypeConfig()- Parameters:
tokenExchangeGrantTypeConfig- Configuration for RFC 8693 Token Exchange.- Returns:
this
-
build
@Stability(Stable) public CfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty>- Returns:
- a new instance of
CfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-