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

com.pulumi.awsnative.datasync.kotlin.outputs.TaskReportConfigOverridesProperties.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.datasync.kotlin.outputs

import kotlin.Suppress

/**
 * 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 TaskReportConfigOverridesProperties(
    public val deleted: TaskReportConfigOverridesPropertiesDeletedProperties? = null,
    public val skipped: TaskReportConfigOverridesPropertiesSkippedProperties? = null,
    public val transferred: TaskReportConfigOverridesPropertiesTransferredProperties? = null,
    public val verified: TaskReportConfigOverridesPropertiesVerifiedProperties? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.datasync.outputs.TaskReportConfigOverridesProperties): TaskReportConfigOverridesProperties = TaskReportConfigOverridesProperties(
            deleted = javaType.deleted().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.datasync.kotlin.outputs.TaskReportConfigOverridesPropertiesDeletedProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            skipped = javaType.skipped().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.datasync.kotlin.outputs.TaskReportConfigOverridesPropertiesSkippedProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            transferred = javaType.transferred().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.datasync.kotlin.outputs.TaskReportConfigOverridesPropertiesTransferredProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            verified = javaType.verified().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.datasync.kotlin.outputs.TaskReportConfigOverridesPropertiesVerifiedProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy