com.pulumi.aws.fsx.kotlin.inputs.OntapVolumeSnaplockConfigurationRetentionPeriodMinimumRetentionArgs.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.fsx.kotlin.inputs
import com.pulumi.aws.fsx.inputs.OntapVolumeSnaplockConfigurationRetentionPeriodMinimumRetentionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property type The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to `INFINITE`, the files are retained forever. If you set it to `UNSPECIFIED`, the files are retained until you set an explicit retention period. Valid values: `SECONDS`, `MINUTES`, `HOURS`, `DAYS`, `MONTHS`, `YEARS`, `INFINITE`, `UNSPECIFIED`.
* @property value The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
*/
public data class OntapVolumeSnaplockConfigurationRetentionPeriodMinimumRetentionArgs(
public val type: Output? = null,
public val `value`: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.fsx.inputs.OntapVolumeSnaplockConfigurationRetentionPeriodMinimumRetentionArgs =
com.pulumi.aws.fsx.inputs.OntapVolumeSnaplockConfigurationRetentionPeriodMinimumRetentionArgs.builder()
.type(type?.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OntapVolumeSnaplockConfigurationRetentionPeriodMinimumRetentionArgs].
*/
@PulumiTagMarker
public class OntapVolumeSnaplockConfigurationRetentionPeriodMinimumRetentionArgsBuilder internal constructor() {
private var type: Output? = null
private var `value`: Output? = null
/**
* @param value The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to `INFINITE`, the files are retained forever. If you set it to `UNSPECIFIED`, the files are retained until you set an explicit retention period. Valid values: `SECONDS`, `MINUTES`, `HOURS`, `DAYS`, `MONTHS`, `YEARS`, `INFINITE`, `UNSPECIFIED`.
*/
@JvmName("mddkharrtfmrhihu")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
*/
@JvmName("jjivudrenkgyulbp")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to `INFINITE`, the files are retained forever. If you set it to `UNSPECIFIED`, the files are retained until you set an explicit retention period. Valid values: `SECONDS`, `MINUTES`, `HOURS`, `DAYS`, `MONTHS`, `YEARS`, `INFINITE`, `UNSPECIFIED`.
*/
@JvmName("advmckcbcatxbexw")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
*/
@JvmName("dpowwupmkfkktanh")
public suspend fun `value`(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): OntapVolumeSnaplockConfigurationRetentionPeriodMinimumRetentionArgs =
OntapVolumeSnaplockConfigurationRetentionPeriodMinimumRetentionArgs(
type = type,
`value` = `value`,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy