Class CfnAssistantMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnAssistantMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssistantMixinProps>
- Enclosing interface:
CfnAssistantMixinProps
@Stability(Stable)
public static final class CfnAssistantMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssistantMixinProps>
A builder for
CfnAssistantMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnAssistantMixinProps.getDescription()Sets the value ofCfnAssistantMixinProps.getName()serverSideEncryptionConfiguration(CfnAssistantPropsMixin.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) Sets the value ofCfnAssistantMixinProps.getServerSideEncryptionConfiguration()serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) Sets the value ofCfnAssistantMixinProps.getServerSideEncryptionConfiguration()Sets the value ofCfnAssistantMixinProps.getTags()Sets the value ofCfnAssistantMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnAssistantMixinProps.getDescription()- Parameters:
description- The description of the assistant.- Returns:
this
-
name
Sets the value ofCfnAssistantMixinProps.getName()- Parameters:
name- The name of the assistant.- Returns:
this
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnAssistantMixinProps.Builder serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) Sets the value ofCfnAssistantMixinProps.getServerSideEncryptionConfiguration()- Parameters:
serverSideEncryptionConfiguration- The configuration information for the customer managed key used for encryption. The customer managed key must have a policy that allowskms:CreateGrantandkms:DescribeKeypermissions to the IAM identity using the key to invoke Wisdom. To use Wisdom with chat, the key policy must also allowkms:Decrypt,kms:GenerateDataKey*, andkms:DescribeKeypermissions to theconnect.amazonaws.com.rproxy.govskope.caservice principal. For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance .- Returns:
this
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnAssistantMixinProps.Builder serverSideEncryptionConfiguration(CfnAssistantPropsMixin.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) Sets the value ofCfnAssistantMixinProps.getServerSideEncryptionConfiguration()- Parameters:
serverSideEncryptionConfiguration- The configuration information for the customer managed key used for encryption. The customer managed key must have a policy that allowskms:CreateGrantandkms:DescribeKeypermissions to the IAM identity using the key to invoke Wisdom. To use Wisdom with chat, the key policy must also allowkms:Decrypt,kms:GenerateDataKey*, andkms:DescribeKeypermissions to theconnect.amazonaws.com.rproxy.govskope.caservice principal. For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance .- Returns:
this
-
tags
Sets the value ofCfnAssistantMixinProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource.- Returns:
this
-
type
Sets the value ofCfnAssistantMixinProps.getType()- Parameters:
type- The type of assistant.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssistantMixinProps>- Returns:
- a new instance of
CfnAssistantMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-