Class DataSourceConfiguration

java.lang.Object
software.amazon.awssdk.services.kendra.model.DataSourceConfiguration
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>

@Generated("software.amazon.awssdk:codegen") public final class DataSourceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>

Provides the configuration information for an Amazon Kendra data source.

See Also:
  • Method Details

    • s3Configuration

      public final S3DataSourceConfiguration s3Configuration()

      Provides the configuration information to connect to an Amazon S3 bucket as your data source.

      Amazon Kendra now supports an upgraded Amazon S3 connector.

      You must now use the TemplateConfiguration object instead of the S3DataSourceConfiguration object to configure your connector.

      Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.

      We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.

      Returns:
      Provides the configuration information to connect to an Amazon S3 bucket as your data source.

      Amazon Kendra now supports an upgraded Amazon S3 connector.

      You must now use the TemplateConfiguration object instead of the S3DataSourceConfiguration object to configure your connector.

      Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.

      We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.

    • sharePointConfiguration

      public final SharePointConfiguration sharePointConfiguration()

      Provides the configuration information to connect to Microsoft SharePoint as your data source.

      Returns:
      Provides the configuration information to connect to Microsoft SharePoint as your data source.
    • databaseConfiguration

      public final DatabaseConfiguration databaseConfiguration()

      Provides the configuration information to connect to a database as your data source.

      Returns:
      Provides the configuration information to connect to a database as your data source.
    • salesforceConfiguration

      public final SalesforceConfiguration salesforceConfiguration()

      Provides the configuration information to connect to Salesforce as your data source.

      Returns:
      Provides the configuration information to connect to Salesforce as your data source.
    • oneDriveConfiguration

      public final OneDriveConfiguration oneDriveConfiguration()

      Provides the configuration information to connect to Microsoft OneDrive as your data source.

      Returns:
      Provides the configuration information to connect to Microsoft OneDrive as your data source.
    • serviceNowConfiguration

      public final ServiceNowConfiguration serviceNowConfiguration()

      Provides the configuration information to connect to ServiceNow as your data source.

      Returns:
      Provides the configuration information to connect to ServiceNow as your data source.
    • confluenceConfiguration

      public final ConfluenceConfiguration confluenceConfiguration()

      Provides the configuration information to connect to Confluence as your data source.

      Returns:
      Provides the configuration information to connect to Confluence as your data source.
    • googleDriveConfiguration

      public final GoogleDriveConfiguration googleDriveConfiguration()

      Provides the configuration information to connect to Google Drive as your data source.

      Returns:
      Provides the configuration information to connect to Google Drive as your data source.
    • webCrawlerConfiguration

      public final WebCrawlerConfiguration webCrawlerConfiguration()
      Returns the value of the WebCrawlerConfiguration property for this object.
      Returns:
      The value of the WebCrawlerConfiguration property for this object.
    • workDocsConfiguration

      public final WorkDocsConfiguration workDocsConfiguration()

      Provides the configuration information to connect to Amazon WorkDocs as your data source.

      Returns:
      Provides the configuration information to connect to Amazon WorkDocs as your data source.
    • fsxConfiguration

      public final FsxConfiguration fsxConfiguration()

      Provides the configuration information to connect to Amazon FSx as your data source.

      Amazon Kendra now supports an upgraded Amazon FSx Windows connector.

      You must now use the TemplateConfiguration object instead of the FsxConfiguration object to configure your connector.

      Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.

      We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.

      Returns:
      Provides the configuration information to connect to Amazon FSx as your data source.

      Amazon Kendra now supports an upgraded Amazon FSx Windows connector.

      You must now use the TemplateConfiguration object instead of the FsxConfiguration object to configure your connector.

      Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.

      We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.

    • slackConfiguration

      public final SlackConfiguration slackConfiguration()

      Provides the configuration information to connect to Slack as your data source.

      Amazon Kendra now supports an upgraded Slack connector.

      You must now use the TemplateConfiguration object instead of the SlackConfiguration object to configure your connector.

      Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.

      We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.

      Returns:
      Provides the configuration information to connect to Slack as your data source.

      Amazon Kendra now supports an upgraded Slack connector.

      You must now use the TemplateConfiguration object instead of the SlackConfiguration object to configure your connector.

      Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.

      We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.

    • boxConfiguration

      public final BoxConfiguration boxConfiguration()

      Provides the configuration information to connect to Box as your data source.

      Returns:
      Provides the configuration information to connect to Box as your data source.
    • quipConfiguration

      public final QuipConfiguration quipConfiguration()

      Provides the configuration information to connect to Quip as your data source.

      Returns:
      Provides the configuration information to connect to Quip as your data source.
    • jiraConfiguration

      public final JiraConfiguration jiraConfiguration()

      Provides the configuration information to connect to Jira as your data source.

      Returns:
      Provides the configuration information to connect to Jira as your data source.
    • gitHubConfiguration

      public final GitHubConfiguration gitHubConfiguration()

      Provides the configuration information to connect to GitHub as your data source.

      Amazon Kendra now supports an upgraded GitHub connector.

      You must now use the TemplateConfiguration object instead of the GitHubConfiguration object to configure your connector.

      Connectors configured using the older console and API architecture will continue to function as configured. However, you won’t be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.

      We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.

      Returns:
      Provides the configuration information to connect to GitHub as your data source.

      Amazon Kendra now supports an upgraded GitHub connector.

      You must now use the TemplateConfiguration object instead of the GitHubConfiguration object to configure your connector.

      Connectors configured using the older console and API architecture will continue to function as configured. However, you won’t be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.

      We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.

    • alfrescoConfiguration

      @Deprecated public final AlfrescoConfiguration alfrescoConfiguration()
      Deprecated.
      Deprecated AlfrescoConfiguration in favor of TemplateConfiguration

      Provides the configuration information to connect to Alfresco as your data source.

      Support for AlfrescoConfiguration ended May 2023. We recommend migrating to or using the Alfresco data source template schema / TemplateConfiguration API.

      Returns:
      Provides the configuration information to connect to Alfresco as your data source.

      Support for AlfrescoConfiguration ended May 2023. We recommend migrating to or using the Alfresco data source template schema / TemplateConfiguration API.

    • templateConfiguration

      public final TemplateConfiguration templateConfiguration()

      Provides a template for the configuration information to connect to your data source.

      Returns:
      Provides a template for the configuration information to connect to your data source.
    • toBuilder

      public DataSourceConfiguration.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>
      Returns:
      a builder for type T
    • builder

      public static DataSourceConfiguration.Builder builder()
    • serializableBuilderClass

      public static Class<? extends DataSourceConfiguration.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.