Interface AssistantData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssistantData.Builder,
,AssistantData> SdkBuilder<AssistantData.Builder,
,AssistantData> SdkPojo
- Enclosing class:
AssistantData
-
Method Summary
Modifier and TypeMethodDescriptionassistantArn
(String assistantArn) The Amazon Resource Name (ARN) of the Wisdom assistant.assistantId
(String assistantId) The identifier of the Wisdom assistant.description
(String description) The description.default AssistantData.Builder
integrationConfiguration
(Consumer<AssistantIntegrationConfiguration.Builder> integrationConfiguration) The configuration information for the Wisdom assistant integration.integrationConfiguration
(AssistantIntegrationConfiguration integrationConfiguration) The configuration information for the Wisdom assistant integration.The name.default AssistantData.Builder
serverSideEncryptionConfiguration
(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration) The configuration information for the customer managed key used for encryption.serverSideEncryptionConfiguration
(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) The configuration information for the customer managed key used for encryption.The status of the assistant.status
(AssistantStatus status) The status of the assistant.The tags used to organize, track, or control access for this resource.The type of assistant.type
(AssistantType type) The type of assistant.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
-
Method Details
-
assistantArn
The Amazon Resource Name (ARN) of the Wisdom assistant.
- Parameters:
assistantArn
- The Amazon Resource Name (ARN) of the Wisdom assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assistantId
The identifier of the Wisdom assistant.
- Parameters:
assistantId
- The identifier of the Wisdom assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description.
- Parameters:
description
- The description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integrationConfiguration
AssistantData.Builder integrationConfiguration(AssistantIntegrationConfiguration integrationConfiguration) The configuration information for the Wisdom assistant integration.
- Parameters:
integrationConfiguration
- The configuration information for the Wisdom assistant integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integrationConfiguration
default AssistantData.Builder integrationConfiguration(Consumer<AssistantIntegrationConfiguration.Builder> integrationConfiguration) The configuration information for the Wisdom assistant integration.
This is a convenience method that creates an instance of theAssistantIntegrationConfiguration.Builder
avoiding the need to create one manually viaAssistantIntegrationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointegrationConfiguration(AssistantIntegrationConfiguration)
.- Parameters:
integrationConfiguration
- a consumer that will call methods onAssistantIntegrationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name.
- Parameters:
name
- The name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryptionConfiguration
AssistantData.Builder serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) The configuration information for the customer managed key used for encryption.
This KMS key must have a policy that allows
kms:CreateGrant
,kms:DescribeKey
, andkms:Decrypt/kms:GenerateDataKey
permissions 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:DescribeKey
permissions to theconnect.amazonaws.com
service 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.This KMS key must have a policy that allows
kms:CreateGrant
,kms:DescribeKey
, andkms:Decrypt/kms:GenerateDataKey
permissions 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:DescribeKey
permissions to theconnect.amazonaws.com
service 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 AssistantData.Builder serverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration) The configuration information for the customer managed key used for encryption.
This KMS key must have a policy that allows
kms:CreateGrant
,kms:DescribeKey
, andkms:Decrypt/kms:GenerateDataKey
permissions 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:DescribeKey
permissions to theconnect.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 viaServerSideEncryptionConfiguration.builder()
.When the
Consumer
completes,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:
-
status
The status of the assistant.
- Parameters:
status
- The status of the assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the assistant.
- Parameters:
status
- The status of the assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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:
-
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:
-