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

com.pulumi.aws.fsx.kotlin.inputs.OntapVolumeSnaplockConfigurationAutocommitPeriodArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.fsx.kotlin.inputs

import com.pulumi.aws.fsx.inputs.OntapVolumeSnaplockConfigurationAutocommitPeriodArgs.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 autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to `NONE` disables autocommit. Valid values: `MINUTES`, `HOURS`, `DAYS`, `MONTHS`, `YEARS`, `NONE`.
 * @property value The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
 */
public data class OntapVolumeSnaplockConfigurationAutocommitPeriodArgs(
    public val type: Output? = null,
    public val `value`: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.fsx.inputs.OntapVolumeSnaplockConfigurationAutocommitPeriodArgs =
        com.pulumi.aws.fsx.inputs.OntapVolumeSnaplockConfigurationAutocommitPeriodArgs.builder()
            .type(type?.applyValue({ args0 -> args0 }))
            .`value`(`value`?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [OntapVolumeSnaplockConfigurationAutocommitPeriodArgs].
 */
@PulumiTagMarker
public class OntapVolumeSnaplockConfigurationAutocommitPeriodArgsBuilder internal constructor() {
    private var type: Output? = null

    private var `value`: Output? = null

    /**
     * @param value The type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to `NONE` disables autocommit. Valid values: `MINUTES`, `HOURS`, `DAYS`, `MONTHS`, `YEARS`, `NONE`.
     */
    @JvmName("kbwlgplfqdupeqrq")
    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("lmgqevlgmjfyyfya")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value The type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to `NONE` disables autocommit. Valid values: `MINUTES`, `HOURS`, `DAYS`, `MONTHS`, `YEARS`, `NONE`.
     */
    @JvmName("iswcgogcenvnvpsv")
    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("frjtupqbffgqgpsm")
    public suspend fun `value`(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    internal fun build(): OntapVolumeSnaplockConfigurationAutocommitPeriodArgs =
        OntapVolumeSnaplockConfigurationAutocommitPeriodArgs(
            type = type,
            `value` = `value`,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy