Interface KnowledgeBaseData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KnowledgeBaseData.Builder,KnowledgeBaseData>,SdkBuilder<KnowledgeBaseData.Builder,KnowledgeBaseData>,SdkPojo
- Enclosing class:
- KnowledgeBaseData
public static interface KnowledgeBaseData.Builder extends SdkPojo, CopyableBuilder<KnowledgeBaseData.Builder,KnowledgeBaseData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description KnowledgeBaseData.Builderdescription(String description)The description.KnowledgeBaseData.BuilderknowledgeBaseArn(String knowledgeBaseArn)The Amazon Resource Name (ARN) of the knowledge base.KnowledgeBaseData.BuilderknowledgeBaseId(String knowledgeBaseId)The identifier of the knowledge base.KnowledgeBaseData.BuilderknowledgeBaseType(String knowledgeBaseType)The type of knowledge base.KnowledgeBaseData.BuilderknowledgeBaseType(KnowledgeBaseType knowledgeBaseType)The type of knowledge base.KnowledgeBaseData.BuilderlastContentModificationTime(Instant lastContentModificationTime)An epoch timestamp indicating the most recent content modification inside the knowledge base.KnowledgeBaseData.Buildername(String name)The name of the knowledge base.default KnowledgeBaseData.BuilderrenderingConfiguration(Consumer<RenderingConfiguration.Builder> renderingConfiguration)Information about how to render the content.KnowledgeBaseData.BuilderrenderingConfiguration(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.KnowledgeBaseData.BuilderserverSideEncryptionConfiguration(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.KnowledgeBaseData.BuildersourceConfiguration(SourceConfiguration sourceConfiguration)Source configuration information about the knowledge base.KnowledgeBaseData.Builderstatus(String status)The status of the knowledge base.KnowledgeBaseData.Builderstatus(KnowledgeBaseStatus status)The status of the knowledge base.KnowledgeBaseData.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.-
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
-
description
KnowledgeBaseData.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.
-
knowledgeBaseArn
KnowledgeBaseData.Builder knowledgeBaseArn(String 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
KnowledgeBaseData.Builder knowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.
- Parameters:
knowledgeBaseId- The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseType
KnowledgeBaseData.Builder knowledgeBaseType(String 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,KnowledgeBaseType
-
knowledgeBaseType
KnowledgeBaseData.Builder knowledgeBaseType(KnowledgeBaseType 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,KnowledgeBaseType
-
lastContentModificationTime
KnowledgeBaseData.Builder lastContentModificationTime(Instant 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
KnowledgeBaseData.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
KnowledgeBaseData.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 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:
renderingConfiguration(RenderingConfiguration)
-
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.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 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.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
KnowledgeBaseData.Builder sourceConfiguration(SourceConfiguration 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:
sourceConfiguration(SourceConfiguration)
-
status
KnowledgeBaseData.Builder status(String 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:
KnowledgeBaseStatus,KnowledgeBaseStatus
-
status
KnowledgeBaseData.Builder status(KnowledgeBaseStatus 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:
KnowledgeBaseStatus,KnowledgeBaseStatus
-
tags
KnowledgeBaseData.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.
-
-