Interface KnowledgeBaseData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KnowledgeBaseData.Builder,,KnowledgeBaseData> SdkBuilder<KnowledgeBaseData.Builder,,KnowledgeBaseData> SdkPojo
- Enclosing class:
KnowledgeBaseData
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description.ingestionFailureReasons(String... ingestionFailureReasons) List of failure reasons on ingestion per file.ingestionFailureReasons(Collection<String> ingestionFailureReasons) List of failure reasons on ingestion per file.ingestionStatus(String ingestionStatus) Status of ingestion on data source.ingestionStatus(SyncStatus ingestionStatus) Status of ingestion on data source.knowledgeBaseArn(String knowledgeBaseArn) The Amazon Resource Name (ARN) of the knowledge base.knowledgeBaseId(String knowledgeBaseId) The identifier of the knowledge base.knowledgeBaseType(String knowledgeBaseType) The type of knowledge base.knowledgeBaseType(KnowledgeBaseType knowledgeBaseType) The type of knowledge base.lastContentModificationTime(Instant lastContentModificationTime) An epoch timestamp indicating the most recent content modification inside the knowledge base.The name of the knowledge base.default KnowledgeBaseData.BuilderrenderingConfiguration(Consumer<RenderingConfiguration.Builder> renderingConfiguration) Information about how to render the content.renderingConfiguration(RenderingConfiguration renderingConfiguration) Information about how to render the content.default KnowledgeBaseData.BuilderserverSideEncryptionConfiguration(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.default KnowledgeBaseData.BuildersourceConfiguration(Consumer<SourceConfiguration.Builder> sourceConfiguration) Source configuration information about the knowledge base.sourceConfiguration(SourceConfiguration sourceConfiguration) Source configuration information about the knowledge base.The status of the knowledge base.status(KnowledgeBaseStatus status) The status of the knowledge base.The tags used to organize, track, or control access for this resource.default KnowledgeBaseData.BuildervectorIngestionConfiguration(Consumer<VectorIngestionConfiguration.Builder> vectorIngestionConfiguration) Contains details about how to ingest the documents in a data source.vectorIngestionConfiguration(VectorIngestionConfiguration vectorIngestionConfiguration) Contains details about how to ingest the documents in a data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
description
The description.
- Parameters:
description- The description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionFailureReasons
List of failure reasons on ingestion per file.
- Parameters:
ingestionFailureReasons- List of failure reasons on ingestion per file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionFailureReasons
List of failure reasons on ingestion per file.
- Parameters:
ingestionFailureReasons- List of failure reasons on ingestion per file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestionStatus
Status of ingestion on data source.
- Parameters:
ingestionStatus- Status of ingestion on data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ingestionStatus
Status of ingestion on data source.
- Parameters:
ingestionStatus- Status of ingestion on data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
knowledgeBaseArn
The Amazon Resource Name (ARN) of the knowledge base.
- Parameters:
knowledgeBaseArn- The Amazon Resource Name (ARN) of the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseId
The identifier of the knowledge base.
- Parameters:
knowledgeBaseId- The identifier of the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseType
The type of knowledge base.
- Parameters:
knowledgeBaseType- The type of knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
knowledgeBaseType
The type of knowledge base.
- Parameters:
knowledgeBaseType- The type of knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastContentModificationTime
An epoch timestamp indicating the most recent content modification inside the knowledge base. If no content exists in a knowledge base, this value is unset.
- Parameters:
lastContentModificationTime- An epoch timestamp indicating the most recent content modification inside the knowledge base. If no content exists in a knowledge base, this value is unset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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 KnowledgeBaseData.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:
-
serverSideEncryptionConfiguration
KnowledgeBaseData.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 in Connect.For more information about setting up a customer managed key for Amazon Q in Connect, 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 in Connect.For more information about setting up a customer managed key for Amazon Q in Connect, 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 KnowledgeBaseData.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 in Connect.For more information about setting up a customer managed key for Amazon Q in Connect, 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:
-
sourceConfiguration
Source configuration information about the knowledge base.
- Parameters:
sourceConfiguration- Source configuration information about the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfiguration
default KnowledgeBaseData.Builder sourceConfiguration(Consumer<SourceConfiguration.Builder> sourceConfiguration) Source configuration information about the knowledge base.
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:
-
status
The status of the knowledge base.
- Parameters:
status- The status of the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the knowledge base.
- Parameters:
status- The status of the knowledge base.- 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.
-
vectorIngestionConfiguration
KnowledgeBaseData.Builder vectorIngestionConfiguration(VectorIngestionConfiguration vectorIngestionConfiguration) Contains details about how to ingest the documents in a data source.
- Parameters:
vectorIngestionConfiguration- Contains details about how to ingest the documents in a data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorIngestionConfiguration
default KnowledgeBaseData.Builder vectorIngestionConfiguration(Consumer<VectorIngestionConfiguration.Builder> vectorIngestionConfiguration) Contains details about how to ingest the documents in a data source.
This is a convenience method that creates an instance of theVectorIngestionConfiguration.Builderavoiding the need to create one manually viaVectorIngestionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovectorIngestionConfiguration(VectorIngestionConfiguration).- Parameters:
vectorIngestionConfiguration- a consumer that will call methods onVectorIngestionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-