Interface AssistantData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssistantData.Builder,AssistantData>,SdkBuilder<AssistantData.Builder,AssistantData>,SdkPojo
- Enclosing class:
- AssistantData
public static interface AssistantData.Builder extends SdkPojo, CopyableBuilder<AssistantData.Builder,AssistantData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssistantData.BuilderassistantArn(String assistantArn)The Amazon Resource Name (ARN) of the Wisdom assistant.AssistantData.BuilderassistantId(String assistantId)The identifier of the Wisdom assistant.AssistantData.Builderdescription(String description)The description.default AssistantData.BuilderintegrationConfiguration(Consumer<AssistantIntegrationConfiguration.Builder> integrationConfiguration)The configuration information for the Wisdom assistant integration.AssistantData.BuilderintegrationConfiguration(AssistantIntegrationConfiguration integrationConfiguration)The configuration information for the Wisdom assistant integration.AssistantData.Buildername(String name)The name.default AssistantData.BuilderserverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration)The configuration information for the customer managed key used for encryption.AssistantData.BuilderserverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)The configuration information for the customer managed key used for encryption.AssistantData.Builderstatus(String status)The status of the assistant.AssistantData.Builderstatus(AssistantStatus status)The status of the assistant.AssistantData.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.AssistantData.Buildertype(String type)The type of assistant.AssistantData.Buildertype(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 Detail
-
assistantArn
AssistantData.Builder assistantArn(String 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
AssistantData.Builder assistantId(String 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
AssistantData.Builder description(String 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.Builderavoiding the need to create one manually viaAssistantIntegrationConfiguration.builder().When the
Consumercompletes,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:
integrationConfiguration(AssistantIntegrationConfiguration)
-
name
AssistantData.Builder name(String 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: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.This KMS 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 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: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)
-
status
AssistantData.Builder status(String 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:
AssistantStatus,AssistantStatus
-
status
AssistantData.Builder status(AssistantStatus 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:
AssistantStatus,AssistantStatus
-
tags
AssistantData.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
AssistantData.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
AssistantData.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
-
-