com.pulumi.aws.efs.kotlin.inputs.FileSystemProtectionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.efs.kotlin.inputs
import com.pulumi.aws.efs.inputs.FileSystemProtectionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property replicationOverwrite Indicates whether replication overwrite protection is enabled. Valid values: `ENABLED` or `DISABLED`.
*/
public data class FileSystemProtectionArgs(
public val replicationOverwrite: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.efs.inputs.FileSystemProtectionArgs =
com.pulumi.aws.efs.inputs.FileSystemProtectionArgs.builder()
.replicationOverwrite(replicationOverwrite?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FileSystemProtectionArgs].
*/
@PulumiTagMarker
public class FileSystemProtectionArgsBuilder internal constructor() {
private var replicationOverwrite: Output? = null
/**
* @param value Indicates whether replication overwrite protection is enabled. Valid values: `ENABLED` or `DISABLED`.
*/
@JvmName("ouenpqmkxnhtffas")
public suspend fun replicationOverwrite(`value`: Output) {
this.replicationOverwrite = value
}
/**
* @param value Indicates whether replication overwrite protection is enabled. Valid values: `ENABLED` or `DISABLED`.
*/
@JvmName("lplchkbsokuswmju")
public suspend fun replicationOverwrite(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.replicationOverwrite = mapped
}
internal fun build(): FileSystemProtectionArgs = FileSystemProtectionArgs(
replicationOverwrite = replicationOverwrite,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy