TransferOptionsResponse constructor
- required Input<
bool> deleteObjectsFromSourceAfterTransfer, - required Input<
bool> deleteObjectsUniqueInSink, - required Input<
MetadataOptionsResponse> metadataOptions, - required Input<
bool> overwriteObjectsAlreadyExistingInSink, - required Input<
String> overwriteWhen,
Creates a new TransferOptionsResponse.
deleteObjectsFromSourceAfterTransfer Whether objects should be deleted from the source after they are transferred to the sink. Note: This option and delete_objects_unique_in_sink are mutually exclusive.
deleteObjectsUniqueInSink Whether objects that exist only in the sink should be deleted. Note: This option and delete_objects_from_source_after_transfer are mutually exclusive.
metadataOptions Represents the selected metadata options for a transfer job.
overwriteObjectsAlreadyExistingInSink When to overwrite objects that already exist in the sink. The default is that only objects that are different from the source are ovewritten. If true, all objects in the sink whose name matches an object in the source are overwritten with the source object.
overwriteWhen When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by overwrite_objects_already_existing_in_sink.
Implementation
const TransferOptionsResponse({
required this.deleteObjectsFromSourceAfterTransfer,
required this.deleteObjectsUniqueInSink,
required this.metadataOptions,
required this.overwriteObjectsAlreadyExistingInSink,
required this.overwriteWhen,
});