Interface DataSourceReference.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataSourceReference.Builder,,DataSourceReference> SdkBuilder<DataSourceReference.Builder,,DataSourceReference> SdkPojo
- Enclosing class:
DataSourceReference
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataSourceReference.Builderlocation(Consumer<DataSourceLocation.Builder> location) Where the data source lives.location(DataSourceLocation location) Where the data source lives.The kind of data source.type(ConnectionType type) The kind of 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
-
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 theDataSourceLocation.Builderavoiding the need to create one manually viaDataSourceLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocation(DataSourceLocation).- Parameters:
location- a consumer that will call methods onDataSourceLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-