Interface ConnectionSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectionSummary.Builder,,ConnectionSummary> SdkBuilder<ConnectionSummary.Builder,,ConnectionSummary> SdkPojo
- Enclosing class:
ConnectionSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the connection.The date and time when the connection was created.default ConnectionSummary.BuilderdataSource(Consumer<DataSourceReference.Builder> dataSource) The connection's data source: its type and location ARN, in the same form as thedataSourcethat GetConnection returns.dataSource(DataSourceReference dataSource) The connection's data source: its type and location ARN, in the same form as thedataSourcethat GetConnection returns.The ID of the connection.The name of the connection.default ConnectionSummary.Builderscope(Consumer<DataSourceScope.Builder> scope) The part of the data source that the connection ingests, in the same form as thescopethat GetConnection returns.scope(DataSourceScope scope) The part of the data source that the connection ingests, in the same form as thescopethat GetConnection returns.The status of the connection.status(ConnectionStatus status) The status of the connection.The kind of external data source.type(ConnectionType type) The kind of external data source.The date and time when the connection was last updated.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
-
id
The ID of the connection.
- Parameters:
id- The ID of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the connection.
- Parameters:
arn- The ARN of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the connection.
- Parameters:
name- The name of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The kind of external 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 external 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 external 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 external 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:
-
-
status
The status of the connection.
Valid values:
-
CREATING- Validation or provisioning is in progress. -
ACTIVE- The data source is reachable and, for a third-party connection, AWS Glue has provisioned catalog synchronization. This does not mean a crawl has started or completed. -
UPDATING- The connection is being updated. -
DELETING- The connection is being deleted. -
FAILED- Validation or provisioning failed terminally.
- Parameters:
status- The status of the connection.Valid values:
-
CREATING- Validation or provisioning is in progress. -
ACTIVE- The data source is reachable and, for a third-party connection, AWS Glue has provisioned catalog synchronization. This does not mean a crawl has started or completed. -
UPDATING- The connection is being updated. -
DELETING- The connection is being deleted. -
FAILED- Validation or provisioning failed terminally.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the connection.
Valid values:
-
CREATING- Validation or provisioning is in progress. -
ACTIVE- The data source is reachable and, for a third-party connection, AWS Glue has provisioned catalog synchronization. This does not mean a crawl has started or completed. -
UPDATING- The connection is being updated. -
DELETING- The connection is being deleted. -
FAILED- Validation or provisioning failed terminally.
- Parameters:
status- The status of the connection.Valid values:
-
CREATING- Validation or provisioning is in progress. -
ACTIVE- The data source is reachable and, for a third-party connection, AWS Glue has provisioned catalog synchronization. This does not mean a crawl has started or completed. -
UPDATING- The connection is being updated. -
DELETING- The connection is being deleted. -
FAILED- Validation or provisioning failed terminally.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
createdAt
The date and time when the connection was created.
- Parameters:
createdAt- The date and time when the connection was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time when the connection was last updated.
- Parameters:
updatedAt- The date and time when the connection was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
The connection's data source: its type and location ARN, in the same form as the
dataSourcethat GetConnection returns.- Parameters:
dataSource- The connection's data source: its type and location ARN, in the same form as thedataSourcethat GetConnection returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
The connection's data source: its type and location ARN, in the same form as the
This is a convenience method that creates an instance of thedataSourcethat GetConnection returns.DataSourceReference.Builderavoiding the need to create one manually viaDataSourceReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSource(DataSourceReference).- Parameters:
dataSource- a consumer that will call methods onDataSourceReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
The part of the data source that the connection ingests, in the same form as the
scopethat GetConnection returns. Absent or empty if the connection ingests the whole source.- Parameters:
scope- The part of the data source that the connection ingests, in the same form as thescopethat GetConnection returns. Absent or empty if the connection ingests the whole source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The part of the data source that the connection ingests, in the same form as the
This is a convenience method that creates an instance of thescopethat GetConnection returns. Absent or empty if the connection ingests the whole source.DataSourceScope.Builderavoiding the need to create one manually viaDataSourceScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscope(DataSourceScope).- Parameters:
scope- a consumer that will call methods onDataSourceScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-