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

com.pulumi.azurenative.storagecache.kotlin.inputs.Nfs3TargetArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.storagecache.kotlin.inputs

import com.pulumi.azurenative.storagecache.inputs.Nfs3TargetArgs.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

/**
 * Properties pertaining to the Nfs3Target
 * @property target IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
 * @property usageModel Identifies the StorageCache usage model to be used for this storage target.
 * @property verificationTimer Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
 * @property writeBackTimer Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
 */
public data class Nfs3TargetArgs(
    public val target: Output? = null,
    public val usageModel: Output? = null,
    public val verificationTimer: Output? = null,
    public val writeBackTimer: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.storagecache.inputs.Nfs3TargetArgs =
        com.pulumi.azurenative.storagecache.inputs.Nfs3TargetArgs.builder()
            .target(target?.applyValue({ args0 -> args0 }))
            .usageModel(usageModel?.applyValue({ args0 -> args0 }))
            .verificationTimer(verificationTimer?.applyValue({ args0 -> args0 }))
            .writeBackTimer(writeBackTimer?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [Nfs3TargetArgs].
 */
@PulumiTagMarker
public class Nfs3TargetArgsBuilder internal constructor() {
    private var target: Output? = null

    private var usageModel: Output? = null

    private var verificationTimer: Output? = null

    private var writeBackTimer: Output? = null

    /**
     * @param value IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
     */
    @JvmName("psfpfqvothigekue")
    public suspend fun target(`value`: Output) {
        this.target = value
    }

    /**
     * @param value Identifies the StorageCache usage model to be used for this storage target.
     */
    @JvmName("sqvetxfjthifqpqq")
    public suspend fun usageModel(`value`: Output) {
        this.usageModel = value
    }

    /**
     * @param value Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
     */
    @JvmName("kgdiafphkbymvlsc")
    public suspend fun verificationTimer(`value`: Output) {
        this.verificationTimer = value
    }

    /**
     * @param value Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
     */
    @JvmName("jojkruoyubvekxgj")
    public suspend fun writeBackTimer(`value`: Output) {
        this.writeBackTimer = value
    }

    /**
     * @param value IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
     */
    @JvmName("paksemflldcstjwu")
    public suspend fun target(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.target = mapped
    }

    /**
     * @param value Identifies the StorageCache usage model to be used for this storage target.
     */
    @JvmName("ouwcujrhnwerywsc")
    public suspend fun usageModel(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.usageModel = mapped
    }

    /**
     * @param value Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
     */
    @JvmName("qyltbtmxncwoelsv")
    public suspend fun verificationTimer(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.verificationTimer = mapped
    }

    /**
     * @param value Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
     */
    @JvmName("lfhmoplcaihdobxn")
    public suspend fun writeBackTimer(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.writeBackTimer = mapped
    }

    internal fun build(): Nfs3TargetArgs = Nfs3TargetArgs(
        target = target,
        usageModel = usageModel,
        verificationTimer = verificationTimer,
        writeBackTimer = writeBackTimer,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy