Interface CreateKnowledgeBaseRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateKnowledgeBaseRequest.Builder,,- CreateKnowledgeBaseRequest> - QConnectRequest.Builder,- SdkBuilder<CreateKnowledgeBaseRequest.Builder,,- CreateKnowledgeBaseRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateKnowledgeBaseRequest
- 
Method SummaryModifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.description(String description) The description.knowledgeBaseType(String knowledgeBaseType) The type of knowledge base.knowledgeBaseType(KnowledgeBaseType knowledgeBaseType) The type of knowledge base.The name of the knowledge base.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.renderingConfiguration(Consumer<RenderingConfiguration.Builder> renderingConfiguration) Information about how to render the content.renderingConfiguration(RenderingConfiguration renderingConfiguration) Information about how to render the content.serverSideEncryptionConfiguration(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.sourceConfiguration(Consumer<SourceConfiguration.Builder> sourceConfiguration) The source of the knowledge base content.sourceConfiguration(SourceConfiguration sourceConfiguration) The source of the knowledge base content.The tags used to organize, track, or control access for this resource.vectorIngestionConfiguration(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.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
clientTokenA 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.
 
- 
nameThe 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.
 
- 
knowledgeBaseTypeThe 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:
 
- 
knowledgeBaseTypeThe 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:
 
- 
sourceConfigurationThe source of the knowledge base content. Only set this argument for EXTERNAL or Managed knowledge bases. - Parameters:
- sourceConfiguration- The source of the knowledge base content. Only set this argument for EXTERNAL or Managed knowledge bases.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceConfigurationdefault CreateKnowledgeBaseRequest.Builder sourceConfiguration(Consumer<SourceConfiguration.Builder> sourceConfiguration) The source of the knowledge base content. Only set this argument for EXTERNAL or Managed 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 on- SourceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
renderingConfigurationCreateKnowledgeBaseRequest.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.
 
- 
renderingConfigurationdefault 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 on- RenderingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
vectorIngestionConfigurationCreateKnowledgeBaseRequest.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.
 
- 
vectorIngestionConfigurationdefault CreateKnowledgeBaseRequest.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 on- VectorIngestionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
serverSideEncryptionConfigurationCreateKnowledgeBaseRequest.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, and- kms: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.
 
- 
serverSideEncryptionConfigurationdefault 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 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 on- ServerSideEncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
descriptionThe description. - Parameters:
- description- The description.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsThe 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.
 
- 
overrideConfigurationCreateKnowledgeBaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateKnowledgeBaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-