public static interface CreateKnowledgeBaseRequest.Builder extends WisdomRequest.Builder, SdkPojo, CopyableBuilder<CreateKnowledgeBaseRequest.Builder,CreateKnowledgeBaseRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateKnowledgeBaseRequest.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.CreateKnowledgeBaseRequest.Builder description(String description)
The description.
description - The description.CreateKnowledgeBaseRequest.Builder knowledgeBaseType(String knowledgeBaseType)
The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.
knowledgeBaseType - The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL
knowledge bases support integrations with third-party systems whose content is synchronized
automatically.KnowledgeBaseType,
KnowledgeBaseTypeCreateKnowledgeBaseRequest.Builder knowledgeBaseType(KnowledgeBaseType knowledgeBaseType)
The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.
knowledgeBaseType - The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL
knowledge bases support integrations with third-party systems whose content is synchronized
automatically.KnowledgeBaseType,
KnowledgeBaseTypeCreateKnowledgeBaseRequest.Builder name(String name)
The name of the knowledge base.
name - The name of the knowledge base.CreateKnowledgeBaseRequest.Builder renderingConfiguration(RenderingConfiguration renderingConfiguration)
Information about how to render the content.
renderingConfiguration - Information about how to render the content.default CreateKnowledgeBaseRequest.Builder renderingConfiguration(Consumer<RenderingConfiguration.Builder> renderingConfiguration)
Information about how to render the content.
This is a convenience method that creates an instance of theRenderingConfiguration.Builder avoiding
the need to create one manually via RenderingConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to renderingConfiguration(RenderingConfiguration).
renderingConfiguration - a consumer that will call methods on RenderingConfiguration.BuilderrenderingConfiguration(RenderingConfiguration)CreateKnowledgeBaseRequest.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 and kms:DescribeKey
permissions to the IAM identity using the key to invoke Wisdom.
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.
This KMS key must have a policy that allows kms:CreateGrant and
kms:DescribeKey permissions to the IAM identity using the key to invoke Wisdom.
For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
default CreateKnowledgeBaseRequest.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 and kms:DescribeKey
permissions to the IAM identity using the key to invoke Wisdom.
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)CreateKnowledgeBaseRequest.Builder sourceConfiguration(SourceConfiguration sourceConfiguration)
The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.
sourceConfiguration - The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.default CreateKnowledgeBaseRequest.Builder sourceConfiguration(Consumer<SourceConfiguration.Builder> sourceConfiguration)
The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.
This is a convenience method that creates an instance of theSourceConfiguration.Builder avoiding the
need to create one manually via SourceConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to sourceConfiguration(SourceConfiguration).
sourceConfiguration - a consumer that will call methods on SourceConfiguration.BuildersourceConfiguration(SourceConfiguration)CreateKnowledgeBaseRequest.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.CreateKnowledgeBaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateKnowledgeBaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.