Interface DataSourceReference.Builder

  • Method Details

    • type

      The kind of data source.

      Valid values:

      • GLUE_DATA_CATALOG - An AWS Glue Data Catalog, or an AWS Glue connection that fronts a federated AWS data source.

      • BEDROCK_KNOWLEDGE_BASE - An Amazon Bedrock knowledge base.

      • DATABRICKS - A Databricks third-party catalog.

      • SNOWFLAKE - A Snowflake third-party catalog.

      Parameters:
      type - The kind of data source.

      Valid values:

      • GLUE_DATA_CATALOG - An AWS Glue Data Catalog, or an AWS Glue connection that fronts a federated AWS data source.

      • BEDROCK_KNOWLEDGE_BASE - An Amazon Bedrock knowledge base.

      • DATABRICKS - A Databricks third-party catalog.

      • SNOWFLAKE - A Snowflake third-party catalog.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The kind of data source.

      Valid values:

      • GLUE_DATA_CATALOG - An AWS Glue Data Catalog, or an AWS Glue connection that fronts a federated AWS data source.

      • BEDROCK_KNOWLEDGE_BASE - An Amazon Bedrock knowledge base.

      • DATABRICKS - A Databricks third-party catalog.

      • SNOWFLAKE - A Snowflake third-party catalog.

      Parameters:
      type - The kind of data source.

      Valid values:

      • GLUE_DATA_CATALOG - An AWS Glue Data Catalog, or an AWS Glue connection that fronts a federated AWS data source.

      • BEDROCK_KNOWLEDGE_BASE - An Amazon Bedrock knowledge base.

      • DATABRICKS - A Databricks third-party catalog.

      • SNOWFLAKE - A Snowflake third-party catalog.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • location

      Where the data source lives. For this scope, an AWS ARN only.

      Parameters:
      location - Where the data source lives. For this scope, an AWS ARN only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      Where the data source lives. For this scope, an AWS ARN only.

      This is a convenience method that creates an instance of the DataSourceLocation.Builder avoiding the need to create one manually via DataSourceLocation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to location(DataSourceLocation).

      Parameters:
      location - a consumer that will call methods on DataSourceLocation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: