Interface KbTemplateConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KbTemplateConfiguration.Builder,,KbTemplateConfiguration> SdkBuilder<KbTemplateConfiguration.Builder,,KbTemplateConfiguration> SdkPojo
- Enclosing class:
KbTemplateConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe connector configuration for the knowledge base 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, sdkFieldNameToField, sdkFields
-
Method Details
-
template
The connector configuration for the knowledge base data source. The structure depends on the connector type of the data source referenced by
DataSourceArn.The template must be a JSON object. The required fields vary by connector type:
-
Amazon S3 (
S3V2) – RequiresconnectionConfigurationwithbucketName. SupportsfilterConfigurationfor inclusion and exclusion prefixes and patterns. SupportsaccessControlConfigurationanddeletionProtectionConfiguration. -
Google Drive (
GOOGLEDRIVEV3) – RequiresconnectionConfigurationwithauthTypeset toSERVICE_ACCOUNT. SupportsdataEntityConfigurationwithcrawlMyDrive,crawlSharedWithMe, andcrawlSharedDrives. -
OneDrive (
ONEDRIVEV3) – RequiresauthTypeat the template root level set toTWO_LEGGED_OAUTH. RequiresconnectionConfigurationwithtenantIdin UUID format. SupportsdataEntityConfigurationwithcrawlPersonalDrivesandcrawlSharedWithMe. -
SharePoint (
SHAREPOINTV3) – RequiresconnectionConfigurationwithtenantIdin UUID format. SupportsdataEntityConfigurationwithsiteUrls,crawlFiles, andcrawlPages. -
Web Crawler (
WEBCRAWLERV3) – RequiresconnectionConfigurationwithseedUrlsorsiteMapUrls(mutually exclusive) andauthType. SupportscrawlConfigurationfor crawl depth, rate limits, and scope. SupportsfilterConfigurationfor file size limits and URL patterns. Valid values forauthType:NO_AUTH,BASIC_AUTH,FORM,SAML.
The optional
deletionProtectionConfigurationobject is supported by all connector types. It containsenableDeletionProtectionanddeletionProtectionThreshold.- Parameters:
template- The connector configuration for the knowledge base data source. The structure depends on the connector type of the data source referenced byDataSourceArn.The template must be a JSON object. The required fields vary by connector type:
-
Amazon S3 (
S3V2) – RequiresconnectionConfigurationwithbucketName. SupportsfilterConfigurationfor inclusion and exclusion prefixes and patterns. SupportsaccessControlConfigurationanddeletionProtectionConfiguration. -
Google Drive (
GOOGLEDRIVEV3) – RequiresconnectionConfigurationwithauthTypeset toSERVICE_ACCOUNT. SupportsdataEntityConfigurationwithcrawlMyDrive,crawlSharedWithMe, andcrawlSharedDrives. -
OneDrive (
ONEDRIVEV3) – RequiresauthTypeat the template root level set toTWO_LEGGED_OAUTH. RequiresconnectionConfigurationwithtenantIdin UUID format. SupportsdataEntityConfigurationwithcrawlPersonalDrivesandcrawlSharedWithMe. -
SharePoint (
SHAREPOINTV3) – RequiresconnectionConfigurationwithtenantIdin UUID format. SupportsdataEntityConfigurationwithsiteUrls,crawlFiles, andcrawlPages. -
Web Crawler (
WEBCRAWLERV3) – RequiresconnectionConfigurationwithseedUrlsorsiteMapUrls(mutually exclusive) andauthType. SupportscrawlConfigurationfor crawl depth, rate limits, and scope. SupportsfilterConfigurationfor file size limits and URL patterns. Valid values forauthType:NO_AUTH,BASIC_AUTH,FORM,SAML.
The optional
deletionProtectionConfigurationobject is supported by all connector types. It containsenableDeletionProtectionanddeletionProtectionThreshold.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-