Class CfnOAuth2CredentialProvider.PrivateKeySourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnOAuth2CredentialProvider.PrivateKeySourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOAuth2CredentialProvider.PrivateKeySourceProperty>
- Enclosing interface:
CfnOAuth2CredentialProvider.PrivateKeySourceProperty
@Stability(Stable)
public static final class CfnOAuth2CredentialProvider.PrivateKeySourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOAuth2CredentialProvider.PrivateKeySourceProperty>
A builder for
CfnOAuth2CredentialProvider.PrivateKeySourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.kmsKeySource(IResolvable kmsKeySource) Sets the value ofCfnOAuth2CredentialProvider.PrivateKeySourceProperty.getKmsKeySource()Sets the value ofCfnOAuth2CredentialProvider.PrivateKeySourceProperty.getKmsKeySource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeySource
@Stability(Stable) public CfnOAuth2CredentialProvider.PrivateKeySourceProperty.Builder kmsKeySource(IResolvable kmsKeySource) Sets the value ofCfnOAuth2CredentialProvider.PrivateKeySourceProperty.getKmsKeySource()- Parameters:
kmsKeySource- Contains the KMS key configuration for a JWT client assertion.- Returns:
this
-
kmsKeySource
@Stability(Stable) public CfnOAuth2CredentialProvider.PrivateKeySourceProperty.Builder kmsKeySource(CfnOAuth2CredentialProvider.KmsKeySourceTypeProperty kmsKeySource) Sets the value ofCfnOAuth2CredentialProvider.PrivateKeySourceProperty.getKmsKeySource()- Parameters:
kmsKeySource- Contains the KMS key configuration for a JWT client assertion.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOAuth2CredentialProvider.PrivateKeySourceProperty>- Returns:
- a new instance of
CfnOAuth2CredentialProvider.PrivateKeySourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-