com.pulumi.aws.sagemaker.kotlin.inputs.DomainRetentionPolicyArgs.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.sagemaker.kotlin.inputs
import com.pulumi.aws.sagemaker.inputs.DomainRetentionPolicyArgs.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 homeEfsFileSystem The retention policy for data stored on an Amazon Elastic File System (EFS) volume. Valid values are `Retain` or `Delete`. Default value is `Retain`.
*/
public data class DomainRetentionPolicyArgs(
public val homeEfsFileSystem: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.sagemaker.inputs.DomainRetentionPolicyArgs =
com.pulumi.aws.sagemaker.inputs.DomainRetentionPolicyArgs.builder()
.homeEfsFileSystem(homeEfsFileSystem?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DomainRetentionPolicyArgs].
*/
@PulumiTagMarker
public class DomainRetentionPolicyArgsBuilder internal constructor() {
private var homeEfsFileSystem: Output? = null
/**
* @param value The retention policy for data stored on an Amazon Elastic File System (EFS) volume. Valid values are `Retain` or `Delete`. Default value is `Retain`.
*/
@JvmName("sknwnlgdapgteeol")
public suspend fun homeEfsFileSystem(`value`: Output) {
this.homeEfsFileSystem = value
}
/**
* @param value The retention policy for data stored on an Amazon Elastic File System (EFS) volume. Valid values are `Retain` or `Delete`. Default value is `Retain`.
*/
@JvmName("juupiictdwqmtwka")
public suspend fun homeEfsFileSystem(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.homeEfsFileSystem = mapped
}
internal fun build(): DomainRetentionPolicyArgs = DomainRetentionPolicyArgs(
homeEfsFileSystem = homeEfsFileSystem,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy