Interface DataIntegrationEventDatasetTargetDetails.Builder

  • Method Details

    • datasetIdentifier

      DataIntegrationEventDatasetTargetDetails.Builder datasetIdentifier(String datasetIdentifier)

      The datalake dataset ARN identifier.

      Parameters:
      datasetIdentifier - The datalake dataset ARN identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operationType

      The target dataset load operation type. The available options are:

      • APPEND - Add new records to the dataset. Noted that this operation type will just try to append records as-is without any primary key or partition constraints.

      • UPSERT - Modify existing records in the dataset with primary key configured, events for datasets without primary keys are not allowed. If event data contains primary keys that match records in the dataset within same partition, then those existing records (in that partition) will be updated. If primary keys do not match, new records will be added. Note that if dataset contain records with duplicate primary key values in the same partition, those duplicate records will be deduped into one updated record.

      • DELETE - Remove existing records in the dataset with primary key configured, events for datasets without primary keys are not allowed. If event data contains primary keys that match records in the dataset within same partition, then those existing records (in that partition) will be deleted. If primary keys do not match, no actions will be done. Note that if dataset contain records with duplicate primary key values in the same partition, all those duplicates will be removed.

      Parameters:
      operationType - The target dataset load operation type. The available options are:

      • APPEND - Add new records to the dataset. Noted that this operation type will just try to append records as-is without any primary key or partition constraints.

      • UPSERT - Modify existing records in the dataset with primary key configured, events for datasets without primary keys are not allowed. If event data contains primary keys that match records in the dataset within same partition, then those existing records (in that partition) will be updated. If primary keys do not match, new records will be added. Note that if dataset contain records with duplicate primary key values in the same partition, those duplicate records will be deduped into one updated record.

      • DELETE - Remove existing records in the dataset with primary key configured, events for datasets without primary keys are not allowed. If event data contains primary keys that match records in the dataset within same partition, then those existing records (in that partition) will be deleted. If primary keys do not match, no actions will be done. Note that if dataset contain records with duplicate primary key values in the same partition, all those duplicates will be removed.

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

      The target dataset load operation type. The available options are:

      • APPEND - Add new records to the dataset. Noted that this operation type will just try to append records as-is without any primary key or partition constraints.

      • UPSERT - Modify existing records in the dataset with primary key configured, events for datasets without primary keys are not allowed. If event data contains primary keys that match records in the dataset within same partition, then those existing records (in that partition) will be updated. If primary keys do not match, new records will be added. Note that if dataset contain records with duplicate primary key values in the same partition, those duplicate records will be deduped into one updated record.

      • DELETE - Remove existing records in the dataset with primary key configured, events for datasets without primary keys are not allowed. If event data contains primary keys that match records in the dataset within same partition, then those existing records (in that partition) will be deleted. If primary keys do not match, no actions will be done. Note that if dataset contain records with duplicate primary key values in the same partition, all those duplicates will be removed.

      Parameters:
      operationType - The target dataset load operation type. The available options are:

      • APPEND - Add new records to the dataset. Noted that this operation type will just try to append records as-is without any primary key or partition constraints.

      • UPSERT - Modify existing records in the dataset with primary key configured, events for datasets without primary keys are not allowed. If event data contains primary keys that match records in the dataset within same partition, then those existing records (in that partition) will be updated. If primary keys do not match, new records will be added. Note that if dataset contain records with duplicate primary key values in the same partition, those duplicate records will be deduped into one updated record.

      • DELETE - Remove existing records in the dataset with primary key configured, events for datasets without primary keys are not allowed. If event data contains primary keys that match records in the dataset within same partition, then those existing records (in that partition) will be deleted. If primary keys do not match, no actions will be done. Note that if dataset contain records with duplicate primary key values in the same partition, all those duplicates will be removed.

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

      The target dataset load execution.

      Parameters:
      datasetLoadExecution - The target dataset load execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetLoadExecution

      The target dataset load execution.

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

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

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