All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.datasync.kotlin.inputs.TaskReportConfigOverridesPropertiesArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.datasync.kotlin.inputs

import com.pulumi.awsnative.datasync.inputs.TaskReportConfigOverridesPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Customizes the reporting level for aspects of your task report. For example, your report might generally only include errors, but you could specify that you want a list of successes and errors just for the files that Datasync attempted to delete in your destination location.
 * @property deleted Specifies the level of reporting for the files, objects, and directories that Datasync attempted to delete in your destination location. This only applies if you configure your task to delete data in the destination that isn't in the source.
 * @property skipped Specifies the level of reporting for the files, objects, and directories that Datasync attempted to skip during your transfer.
 * @property transferred Specifies the level of reporting for the files, objects, and directories that Datasync attempted to transfer.
 * @property verified Specifies the level of reporting for the files, objects, and directories that Datasync attempted to verify at the end of your transfer. This only applies if you configure your task to verify data during and after the transfer (which Datasync does by default)
 */
public data class TaskReportConfigOverridesPropertiesArgs(
    public val deleted: Output? = null,
    public val skipped: Output? = null,
    public val transferred: Output? =
        null,
    public val verified: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.datasync.inputs.TaskReportConfigOverridesPropertiesArgs =
        com.pulumi.awsnative.datasync.inputs.TaskReportConfigOverridesPropertiesArgs.builder()
            .deleted(deleted?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .skipped(skipped?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .transferred(transferred?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .verified(verified?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [TaskReportConfigOverridesPropertiesArgs].
 */
@PulumiTagMarker
public class TaskReportConfigOverridesPropertiesArgsBuilder internal constructor() {
    private var deleted: Output? = null

    private var skipped: Output? = null

    private var transferred: Output? =
        null

    private var verified: Output? = null

    /**
     * @param value Specifies the level of reporting for the files, objects, and directories that Datasync attempted to delete in your destination location. This only applies if you configure your task to delete data in the destination that isn't in the source.
     */
    @JvmName("pucdftmnmqhxsdgr")
    public suspend fun deleted(`value`: Output) {
        this.deleted = value
    }

    /**
     * @param value Specifies the level of reporting for the files, objects, and directories that Datasync attempted to skip during your transfer.
     */
    @JvmName("lxrecibhmtlvdpbg")
    public suspend fun skipped(`value`: Output) {
        this.skipped = value
    }

    /**
     * @param value Specifies the level of reporting for the files, objects, and directories that Datasync attempted to transfer.
     */
    @JvmName("ypgkvrlcaeyuwjia")
    public suspend fun transferred(`value`: Output) {
        this.transferred = value
    }

    /**
     * @param value Specifies the level of reporting for the files, objects, and directories that Datasync attempted to verify at the end of your transfer. This only applies if you configure your task to verify data during and after the transfer (which Datasync does by default)
     */
    @JvmName("rryavnnlvnkmllhy")
    public suspend fun verified(`value`: Output) {
        this.verified = value
    }

    /**
     * @param value Specifies the level of reporting for the files, objects, and directories that Datasync attempted to delete in your destination location. This only applies if you configure your task to delete data in the destination that isn't in the source.
     */
    @JvmName("iqkmbokfvhdpwdhd")
    public suspend fun deleted(`value`: TaskReportConfigOverridesPropertiesDeletedPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deleted = mapped
    }

    /**
     * @param argument Specifies the level of reporting for the files, objects, and directories that Datasync attempted to delete in your destination location. This only applies if you configure your task to delete data in the destination that isn't in the source.
     */
    @JvmName("wscfslfexhqgbhoa")
    public suspend fun deleted(argument: suspend TaskReportConfigOverridesPropertiesDeletedPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = TaskReportConfigOverridesPropertiesDeletedPropertiesArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.deleted = mapped
    }

    /**
     * @param value Specifies the level of reporting for the files, objects, and directories that Datasync attempted to skip during your transfer.
     */
    @JvmName("buoxvfnjbbrqbteu")
    public suspend fun skipped(`value`: TaskReportConfigOverridesPropertiesSkippedPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.skipped = mapped
    }

    /**
     * @param argument Specifies the level of reporting for the files, objects, and directories that Datasync attempted to skip during your transfer.
     */
    @JvmName("xpwwpnnloeyongcw")
    public suspend fun skipped(argument: suspend TaskReportConfigOverridesPropertiesSkippedPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = TaskReportConfigOverridesPropertiesSkippedPropertiesArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.skipped = mapped
    }

    /**
     * @param value Specifies the level of reporting for the files, objects, and directories that Datasync attempted to transfer.
     */
    @JvmName("pquiqlwmspyhvein")
    public suspend fun transferred(`value`: TaskReportConfigOverridesPropertiesTransferredPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.transferred = mapped
    }

    /**
     * @param argument Specifies the level of reporting for the files, objects, and directories that Datasync attempted to transfer.
     */
    @JvmName("vaewtaamyqtgyqnh")
    public suspend fun transferred(argument: suspend TaskReportConfigOverridesPropertiesTransferredPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped =
            TaskReportConfigOverridesPropertiesTransferredPropertiesArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.transferred = mapped
    }

    /**
     * @param value Specifies the level of reporting for the files, objects, and directories that Datasync attempted to verify at the end of your transfer. This only applies if you configure your task to verify data during and after the transfer (which Datasync does by default)
     */
    @JvmName("pnkurrlpktfpvynu")
    public suspend fun verified(`value`: TaskReportConfigOverridesPropertiesVerifiedPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.verified = mapped
    }

    /**
     * @param argument Specifies the level of reporting for the files, objects, and directories that Datasync attempted to verify at the end of your transfer. This only applies if you configure your task to verify data during and after the transfer (which Datasync does by default)
     */
    @JvmName("lhashpuqoilowiqi")
    public suspend fun verified(argument: suspend TaskReportConfigOverridesPropertiesVerifiedPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped =
            TaskReportConfigOverridesPropertiesVerifiedPropertiesArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.verified = mapped
    }

    internal fun build(): TaskReportConfigOverridesPropertiesArgs =
        TaskReportConfigOverridesPropertiesArgs(
            deleted = deleted,
            skipped = skipped,
            transferred = transferred,
            verified = verified,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy