Class CfnSessionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnSessionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSessionPropsMixin>
- Enclosing class:
CfnSessionPropsMixin
@Stability(Stable)
public static final class CfnSessionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSessionPropsMixin>
A fluent builder for
CfnSessionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnSessionPropsMixin.Buildercreate()static CfnSessionPropsMixin.Buildercreate(CfnPropertyMixinOptions options) encryptionKeyArn(String encryptionKeyArn) The Amazon Resource Name (ARN) of the KMS key to use to encrypt the session data.sessionMetadata(Map<String, String> sessionMetadata) A map of key-value pairs containing attributes to be persisted across the session.sessionMetadata(IResolvable sessionMetadata) A map of key-value pairs containing attributes to be persisted across the session.A list of tags associated with the session.
-
Method Details
-
create
@Stability(Stable) public static CfnSessionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSessionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSessionPropsMixin.Builder.
-
encryptionKeyArn
The Amazon Resource Name (ARN) of the KMS key to use to encrypt the session data.- Parameters:
encryptionKeyArn- The Amazon Resource Name (ARN) of the KMS key to use to encrypt the session data. This parameter is required.- Returns:
this- See Also:
-
sessionMetadata
A map of key-value pairs containing attributes to be persisted across the session.- Parameters:
sessionMetadata- A map of key-value pairs containing attributes to be persisted across the session. This parameter is required.- Returns:
this- See Also:
-
sessionMetadata
@Stability(Stable) public CfnSessionPropsMixin.Builder sessionMetadata(Map<String, String> sessionMetadata) A map of key-value pairs containing attributes to be persisted across the session.- Parameters:
sessionMetadata- A map of key-value pairs containing attributes to be persisted across the session. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tags associated with the session.- Parameters:
tags- A list of tags associated with the session. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSessionPropsMixin>- Returns:
- a newly built instance of
CfnSessionPropsMixin.
-