Interface UpdateConnectionResponse.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. You set it when you create the connection and can change it with UpdateConnection. Uses the same constraints as an agent context name. Always present.

      Parameters:
      name - The name of the connection. You set it when you create the connection and can change it with UpdateConnection. Uses the same constraints as an agent context name. Always present.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSource

      The typed reference to the external data source that this connection binds to. Its type, the authoritative kind of data source, is in dataSource.type.

      Parameters:
      dataSource - The typed reference to the external data source that this connection binds to. Its type, the authoritative kind of data source, is in dataSource.type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSource

      The typed reference to the external data source that this connection binds to. Its type, the authoritative kind of data source, is in dataSource.type.

      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 hierarchical subset of the data source this connection ingests.

      Parameters:
      scope - The hierarchical subset of the data source this connection ingests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scope

      The hierarchical subset of the data source this connection ingests.

      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:
    • accessConfig

      UpdateConnectionResponse.Builder accessConfig(AccessConfig accessConfig)

      Per-connection access configuration: the IAM role used for data access.

      Parameters:
      accessConfig - Per-connection access configuration: the IAM role used for data access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessConfig

      default UpdateConnectionResponse.Builder accessConfig(Consumer<AccessConfig.Builder> accessConfig)

      Per-connection access configuration: the IAM role used for data access.

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

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

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

      UpdateConnectionResponse.Builder syncSchedule(SyncSchedule syncSchedule)

      The effective sync schedule. Present for DATABRICKS and SNOWFLAKE connections ( DAILY if you didn't specify one). Absent for GLUE_DATA_CATALOG and BEDROCK_KNOWLEDGE_BASE connections, which are event-driven.

      Parameters:
      syncSchedule - The effective sync schedule. Present for DATABRICKS and SNOWFLAKE connections (DAILY if you didn't specify one). Absent for GLUE_DATA_CATALOG and BEDROCK_KNOWLEDGE_BASE connections, which are event-driven.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • syncSchedule

      default UpdateConnectionResponse.Builder syncSchedule(Consumer<SyncSchedule.Builder> syncSchedule)

      The effective sync schedule. Present for DATABRICKS and SNOWFLAKE connections ( DAILY if you didn't specify one). Absent for GLUE_DATA_CATALOG and BEDROCK_KNOWLEDGE_BASE connections, which are event-driven.

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

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

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

      UpdateConnectionResponse.Builder ingestionConfig(IngestionConfig ingestionConfig)

      The connection's ingestion configuration (the IAM role a data producer assumes to push into this connection). Absent when no ingestion role is configured.

      Parameters:
      ingestionConfig - The connection's ingestion configuration (the IAM role a data producer assumes to push into this connection). Absent when no ingestion role is configured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ingestionConfig

      default UpdateConnectionResponse.Builder ingestionConfig(Consumer<IngestionConfig.Builder> ingestionConfig)

      The connection's ingestion configuration (the IAM role a data producer assumes to push into this connection). Absent when no ingestion role is configured.

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

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

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

      UpdateConnectionResponse.Builder glueConnectionMappings(Collection<GlueConnectionMapping> glueConnectionMappings)

      The AWS Glue connection for each redshiftNamespace, each rdsInstance and rdsDatabase pair, or each snowflakeDatabase in scope. Absent when none is configured.

      Parameters:
      glueConnectionMappings - The AWS Glue connection for each redshiftNamespace, each rdsInstance and rdsDatabase pair, or each snowflakeDatabase in scope. Absent when none is configured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • glueConnectionMappings

      UpdateConnectionResponse.Builder glueConnectionMappings(GlueConnectionMapping... glueConnectionMappings)

      The AWS Glue connection for each redshiftNamespace, each rdsInstance and rdsDatabase pair, or each snowflakeDatabase in scope. Absent when none is configured.

      Parameters:
      glueConnectionMappings - The AWS Glue connection for each redshiftNamespace, each rdsInstance and rdsDatabase pair, or each snowflakeDatabase in scope. Absent when none is configured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • glueConnectionMappings

      UpdateConnectionResponse.Builder glueConnectionMappings(Consumer<GlueConnectionMapping.Builder>... glueConnectionMappings)

      The AWS Glue connection for each redshiftNamespace, each rdsInstance and rdsDatabase pair, or each snowflakeDatabase in scope. Absent when none is configured.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to glueConnectionMappings(List<GlueConnectionMapping>).

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

      The connection's status. Valid values:

      • CREATING - Validation or provisioning is still in progress.

      • ACTIVE - The data source is reachable and, for a DATABRICKS or SNOWFLAKE connection, AWS Glue has provisioned catalog synchronization and returned its crawler ARN. This doesn't mean that a crawl has started or completed.

      • UPDATING - The connection is being updated.

      • DELETING - The connection is being deleted.

      • FAILED - Validation or provisioning failed, and the connection can't recover.

      Parameters:
      status - The connection's status. Valid values:

      • CREATING - Validation or provisioning is still in progress.

      • ACTIVE - The data source is reachable and, for a DATABRICKS or SNOWFLAKE connection, AWS Glue has provisioned catalog synchronization and returned its crawler ARN. This doesn't mean that a crawl has started or completed.

      • UPDATING - The connection is being updated.

      • DELETING - The connection is being deleted.

      • FAILED - Validation or provisioning failed, and the connection can't recover.

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

      The connection's status. Valid values:

      • CREATING - Validation or provisioning is still in progress.

      • ACTIVE - The data source is reachable and, for a DATABRICKS or SNOWFLAKE connection, AWS Glue has provisioned catalog synchronization and returned its crawler ARN. This doesn't mean that a crawl has started or completed.

      • UPDATING - The connection is being updated.

      • DELETING - The connection is being deleted.

      • FAILED - Validation or provisioning failed, and the connection can't recover.

      Parameters:
      status - The connection's status. Valid values:

      • CREATING - Validation or provisioning is still in progress.

      • ACTIVE - The data source is reachable and, for a DATABRICKS or SNOWFLAKE connection, AWS Glue has provisioned catalog synchronization and returned its crawler ARN. This doesn't mean that a crawl has started or completed.

      • UPDATING - The connection is being updated.

      • DELETING - The connection is being deleted.

      • FAILED - Validation or provisioning failed, and the connection can't recover.

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

      The reason the connection is FAILED. Absent in every other status.

      Parameters:
      failure - The reason the connection is FAILED. Absent in every other status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failure

      The reason the connection is FAILED. Absent in every other status.

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

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

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

      The last milestone a third-party connection's lifecycle reached. Present in two statuses: CREATING, where it shows the resources provisioned so far, and DELETING, where it shows the resources removed so far. Absent in every other status and while nothing has been done yet in the current direction. CREATING at GLUE_CONNECTION_VALIDATED on a connection created with publish: false means it is waiting for UpdateConnection publish: true.

      Parameters:
      subStatus - The last milestone a third-party connection's lifecycle reached. Present in two statuses: CREATING, where it shows the resources provisioned so far, and DELETING, where it shows the resources removed so far. Absent in every other status and while nothing has been done yet in the current direction. CREATING at GLUE_CONNECTION_VALIDATED on a connection created with publish: false means it is waiting for UpdateConnection publish: true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • subStatus

      The last milestone a third-party connection's lifecycle reached. Present in two statuses: CREATING, where it shows the resources provisioned so far, and DELETING, where it shows the resources removed so far. Absent in every other status and while nothing has been done yet in the current direction. CREATING at GLUE_CONNECTION_VALIDATED on a connection created with publish: false means it is waiting for UpdateConnection publish: true.

      Parameters:
      subStatus - The last milestone a third-party connection's lifecycle reached. Present in two statuses: CREATING, where it shows the resources provisioned so far, and DELETING, where it shows the resources removed so far. Absent in every other status and while nothing has been done yet in the current direction. CREATING at GLUE_CONNECTION_VALIDATED on a connection created with publish: false means it is waiting for UpdateConnection publish: true.
      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

      When the resource last changed. Equal to createdAt until the first update.

      Parameters:
      updatedAt - When the resource last changed. Equal to createdAt until the first update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.