Interface CreateKnowledgeBaseRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateKnowledgeBaseRequest.Builder,CreateKnowledgeBaseRequest>,QConnectRequest.Builder,SdkBuilder<CreateKnowledgeBaseRequest.Builder,CreateKnowledgeBaseRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateKnowledgeBaseRequest
public static interface CreateKnowledgeBaseRequest.Builder extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateKnowledgeBaseRequest.Builder,CreateKnowledgeBaseRequest>
-
-
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.services.qconnect.model.QConnectRequest.Builder
build
-
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
-
clientToken
CreateKnowledgeBaseRequest.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
CreateKnowledgeBaseRequest.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.
-
knowledgeBaseType
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KnowledgeBaseType,KnowledgeBaseType
-
knowledgeBaseType
CreateKnowledgeBaseRequest.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KnowledgeBaseType,KnowledgeBaseType
-
name
CreateKnowledgeBaseRequest.Builder name(String name)
The name of the knowledge base.
- Parameters:
name- The name of the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
renderingConfiguration
CreateKnowledgeBaseRequest.Builder renderingConfiguration(RenderingConfiguration renderingConfiguration)
Information about how to render the content.
- Parameters:
renderingConfiguration- Information about how to render the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
renderingConfiguration
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.Builderavoiding the need to create one manually viaRenderingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torenderingConfiguration(RenderingConfiguration).- Parameters:
renderingConfiguration- a consumer that will call methods onRenderingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
renderingConfiguration(RenderingConfiguration)
-
serverSideEncryptionConfiguration
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,kms:DescribeKey,kms:Decrypt, andkms:GenerateDataKey*permissions to the IAM identity using the key to invoke Amazon Q.For more information about setting up a customer managed key for Amazon Q, see Enable Amazon Q in Connect 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,kms:Decrypt, andkms:GenerateDataKey*permissions to the IAM identity using the key to invoke Amazon Q.For more information about setting up a customer managed key for Amazon Q, see Enable Amazon Q in Connect for your instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryptionConfiguration
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,kms:DescribeKey,kms:Decrypt, andkms:GenerateDataKey*permissions to the IAM identity using the key to invoke Amazon Q.For more information about setting up a customer managed key for Amazon Q, see Enable Amazon Q in Connect 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)
-
sourceConfiguration
CreateKnowledgeBaseRequest.Builder sourceConfiguration(SourceConfiguration sourceConfiguration)
The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.
- Parameters:
sourceConfiguration- The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfiguration
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.Builderavoiding the need to create one manually viaSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConfiguration(SourceConfiguration).- Parameters:
sourceConfiguration- a consumer that will call methods onSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourceConfiguration(SourceConfiguration)
-
tags
CreateKnowledgeBaseRequest.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.
-
overrideConfiguration
CreateKnowledgeBaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateKnowledgeBaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-