TransferJobReplicationSpecTransferOptionsArgs

data class TransferJobReplicationSpecTransferOptionsArgs(val deleteObjectsFromSourceAfterTransfer: Output<Boolean>? = null, val deleteObjectsUniqueInSink: Output<Boolean>? = null, val metadataOptions: Output<TransferJobReplicationSpecTransferOptionsMetadataOptionsArgs>? = null, val overwriteObjectsAlreadyExistingInSink: Output<Boolean>? = null, val overwriteWhen: Output<String>? = null) : ConvertibleToJava<TransferJobReplicationSpecTransferOptionsArgs>

Constructors

constructor(deleteObjectsFromSourceAfterTransfer: Output<Boolean>? = null, deleteObjectsUniqueInSink: Output<Boolean>? = null, metadataOptions: Output<TransferJobReplicationSpecTransferOptionsMetadataOptionsArgs>? = null, overwriteObjectsAlreadyExistingInSink: Output<Boolean>? = null, overwriteWhen: Output<String>? = null)

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
val deleteObjectsUniqueInSink: Output<Boolean>? = null

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: Output<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.

Functions

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