Interface ConnectionSummary.Builder

  • 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

      ConnectionSummary.Builder createdAt(Instant 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

      ConnectionSummary.Builder updatedAt(Instant 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 dataSource that GetConnection returns.

      Parameters:
      dataSource - The connection's data source: its type and location ARN, in the same form as the dataSource that 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 dataSource that GetConnection returns.

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

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

      Parameters:
      dataSource - a consumer that will call methods on DataSourceReference.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 scope that 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 the scope that 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 scope that GetConnection returns. Absent or empty if the connection ingests the whole source.

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

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

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