public static interface CreateAssistantRequest.Builder extends WisdomRequest.Builder, SdkPojo, CopyableBuilder<CreateAssistantRequest.Builder,CreateAssistantRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateAssistantRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not
provided, the Amazon Web Services SDK populates this field. For more information about idempotency,
see Making
retries safe with idempotent APIs.CreateAssistantRequest.Builder description(String description)
The description of the assistant.
description - The description of the assistant.CreateAssistantRequest.Builder name(String name)
The name of the assistant.
name - The name of the assistant.CreateAssistantRequest.Builder serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The configuration information for the customer managed key used for encryption.
The customer managed key must have a policy that allows kms:CreateGrant and
kms:DescribeKey permissions to the IAM identity using the key to invoke Wisdom. To use Wisdom
with chat, the key policy must also allow kms:Decrypt, kms:GenerateDataKey*, and
kms:DescribeKey permissions to the connect.amazonaws.com service principal.
For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
serverSideEncryptionConfiguration - The configuration information for the customer managed key used for encryption.
The customer managed key must have a policy that allows kms:CreateGrant and
kms:DescribeKey permissions to the IAM identity using the key to invoke Wisdom. To use
Wisdom with chat, the key policy must also allow kms:Decrypt,
kms:GenerateDataKey*, and kms:DescribeKey permissions to the
connect.amazonaws.com service principal.
For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
default CreateAssistantRequest.Builder serverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration)
The configuration information for the customer managed key used for encryption.
The customer managed key must have a policy that allows kms:CreateGrant and
kms:DescribeKey permissions to the IAM identity using the key to invoke Wisdom. To use Wisdom
with chat, the key policy must also allow kms:Decrypt, kms:GenerateDataKey*, and
kms:DescribeKey permissions to the connect.amazonaws.com service principal.
For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
This is a convenience method that creates an instance of theServerSideEncryptionConfiguration.Builder avoiding the need to create one manually via
ServerSideEncryptionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration).
serverSideEncryptionConfiguration - a consumer that will call methods on ServerSideEncryptionConfiguration.BuilderserverSideEncryptionConfiguration(ServerSideEncryptionConfiguration)CreateAssistantRequest.Builder tags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags - The tags used to organize, track, or control access for this resource.CreateAssistantRequest.Builder type(String type)
The type of assistant.
type - The type of assistant.AssistantType,
AssistantTypeCreateAssistantRequest.Builder type(AssistantType type)
The type of assistant.
type - The type of assistant.AssistantType,
AssistantTypeCreateAssistantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateAssistantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.