TransferOptionsArgs

data class TransferOptionsArgs(val deleteObjectsFromSourceAfterTransfer: Output<Boolean>? = null, val deleteObjectsUniqueInSink: Output<Boolean>? = null, val metadataOptions: Output<MetadataOptionsArgs>? = null, val overwriteObjectsAlreadyExistingInSink: Output<Boolean>? = null, val overwriteWhen: Output<TransferOptionsOverwriteWhen>? = null) : ConvertibleToJava<TransferOptionsArgs>

TransferOptions define the actions to be performed on objects in a transfer.

Constructors

Link copied to clipboard
fun TransferOptionsArgs(deleteObjectsFromSourceAfterTransfer: Output<Boolean>? = null, deleteObjectsUniqueInSink: Output<Boolean>? = null, metadataOptions: Output<MetadataOptionsArgs>? = null, overwriteObjectsAlreadyExistingInSink: Output<Boolean>? = null, overwriteWhen: Output<TransferOptionsOverwriteWhen>? = null)

Functions

Link copied to clipboard
open override fun toJava(): TransferOptionsArgs

Properties

Link copied to clipboard

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.

Link copied to clipboard
val deleteObjectsUniqueInSink: Output<Boolean>? = null

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

Link copied to clipboard

Represents the selected metadata options for a transfer job.

Link copied to clipboard

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.

Link copied to clipboard

When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by overwrite_objects_already_existing_in_sink.