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