Interface DataIntegrationEventDatasetTargetDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataIntegrationEventDatasetTargetDetails.Builder,
,DataIntegrationEventDatasetTargetDetails> SdkBuilder<DataIntegrationEventDatasetTargetDetails.Builder,
,DataIntegrationEventDatasetTargetDetails> SdkPojo
- Enclosing class:
DataIntegrationEventDatasetTargetDetails
-
Method Summary
Modifier and TypeMethodDescriptiondatasetIdentifier
(String datasetIdentifier) The datalake dataset ARN identifier.datasetLoadExecution
(Consumer<DataIntegrationEventDatasetLoadExecutionDetails.Builder> datasetLoadExecution) The target dataset load execution.datasetLoadExecution
(DataIntegrationEventDatasetLoadExecutionDetails datasetLoadExecution) The target dataset load execution.operationType
(String operationType) The target dataset load operation type.operationType
(DataIntegrationEventDatasetOperationType operationType) The target dataset load operation type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
DataIntegrationEventDatasetTargetDetails.Builder operationType(DataIntegrationEventDatasetOperationType 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
DataIntegrationEventDatasetTargetDetails.Builder datasetLoadExecution(DataIntegrationEventDatasetLoadExecutionDetails 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
default DataIntegrationEventDatasetTargetDetails.Builder datasetLoadExecution(Consumer<DataIntegrationEventDatasetLoadExecutionDetails.Builder> datasetLoadExecution) The target dataset load execution.
This is a convenience method that creates an instance of theDataIntegrationEventDatasetLoadExecutionDetails.Builder
avoiding the need to create one manually viaDataIntegrationEventDatasetLoadExecutionDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatasetLoadExecution(DataIntegrationEventDatasetLoadExecutionDetails)
.- Parameters:
datasetLoadExecution
- a consumer that will call methods onDataIntegrationEventDatasetLoadExecutionDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-