TransferJobReplicationSpecTransferOptions

data class TransferJobReplicationSpecTransferOptions(val deleteObjectsFromSourceAfterTransfer: Boolean? = null, val deleteObjectsUniqueInSink: Boolean? = null, val metadataOptions: TransferJobReplicationSpecTransferOptionsMetadataOptions? = null, val overwriteObjectsAlreadyExistingInSink: Boolean? = null, val overwriteWhen: String? = null)

Constructors

constructor(deleteObjectsFromSourceAfterTransfer: Boolean? = null, deleteObjectsUniqueInSink: Boolean? = null, metadataOptions: TransferJobReplicationSpecTransferOptionsMetadataOptions? = null, overwriteObjectsAlreadyExistingInSink: Boolean? = null, overwriteWhen: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether objects should be deleted from the source after they are transferred to the sink. Note that this option and delete_objects_unique_in_sink are mutually exclusive.

Link copied to clipboard

Whether objects that exist only in the sink should be deleted. Note that this option and delete_objects_from_source_after_transfer are mutually exclusive.

Link copied to clipboard

Specifies the metadata options for running a transfer

Link copied to clipboard

Whether overwriting objects that already exist in the sink is allowed.

Link copied to clipboard
val overwriteWhen: String? = null

When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by overwrite_objects_already_existing_in_sink. Possible values: ALWAYS, DIFFERENT, NEVER.