Interface CreateAssistantRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAssistantRequest.Builder,CreateAssistantRequest>,SdkBuilder<CreateAssistantRequest.Builder,CreateAssistantRequest>,SdkPojo,SdkRequest.Builder,WisdomRequest.Builder
- Enclosing class:
- CreateAssistantRequest
public static interface CreateAssistantRequest.Builder extends WisdomRequest.Builder, SdkPojo, CopyableBuilder<CreateAssistantRequest.Builder,CreateAssistantRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.wisdom.model.WisdomRequest.Builder
build
-
-
-
-
Method Detail
-
clientToken
CreateAssistantRequest.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateAssistantRequest.Builder description(String description)
The description of the assistant.
- Parameters:
description- The description of the assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateAssistantRequest.Builder name(String name)
The name of the assistant.
- Parameters:
name- The name of the assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryptionConfiguration
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: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.comservice principal.For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
- Parameters:
serverSideEncryptionConfiguration- The configuration information for the customer managed key used for encryption.The customer managed key must have a policy that allows
kms: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.comservice principal.For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryptionConfiguration
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: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.comservice 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.Builderavoiding the need to create one manually viaServerSideEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverSideEncryptionConfiguration(ServerSideEncryptionConfiguration).- Parameters:
serverSideEncryptionConfiguration- a consumer that will call methods onServerSideEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration)
-
tags
CreateAssistantRequest.Builder tags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
- Parameters:
tags- The tags used to organize, track, or control access for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
CreateAssistantRequest.Builder type(String type)
The type of assistant.
- Parameters:
type- The type of assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AssistantType,AssistantType
-
type
CreateAssistantRequest.Builder type(AssistantType type)
The type of assistant.
- Parameters:
type- The type of assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AssistantType,AssistantType
-
overrideConfiguration
CreateAssistantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAssistantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-