
com.pulumi.awsnative.datasync.kotlin.enums.TaskOptionsPreserveDevices.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datasync.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* A value that determines whether AWS DataSync should preserve the metadata of block and character devices in the source file system, and recreate the files with that device name and metadata on the destination.
*/
public enum class TaskOptionsPreserveDevices(
public val javaValue: com.pulumi.awsnative.datasync.enums.TaskOptionsPreserveDevices,
) : ConvertibleToJava {
None(com.pulumi.awsnative.datasync.enums.TaskOptionsPreserveDevices.None),
Preserve(com.pulumi.awsnative.datasync.enums.TaskOptionsPreserveDevices.Preserve),
;
override fun toJava(): com.pulumi.awsnative.datasync.enums.TaskOptionsPreserveDevices = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.datasync.enums.TaskOptionsPreserveDevices): TaskOptionsPreserveDevices =
TaskOptionsPreserveDevices.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy