![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.storagecache.kotlin.inputs.BlobNfsTargetArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.storagecache.kotlin.inputs
import com.pulumi.azurenative.storagecache.inputs.BlobNfsTargetArgs.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 BlobNfsTarget.
* @property target Resource ID of the storage container.
* @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 BlobNfsTargetArgs(
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.BlobNfsTargetArgs =
com.pulumi.azurenative.storagecache.inputs.BlobNfsTargetArgs.builder()
.target(target?.applyValue({ args0 -> args0 }))
.usageModel(usageModel?.applyValue({ args0 -> args0 }))
.verificationTimer(verificationTimer?.applyValue({ args0 -> args0 }))
.writeBackTimer(writeBackTimer?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BlobNfsTargetArgs].
*/
@PulumiTagMarker
public class BlobNfsTargetArgsBuilder internal constructor() {
private var target: Output? = null
private var usageModel: Output? = null
private var verificationTimer: Output? = null
private var writeBackTimer: Output? = null
/**
* @param value Resource ID of the storage container.
*/
@JvmName("gnjhffxcftokcpno")
public suspend fun target(`value`: Output) {
this.target = value
}
/**
* @param value Identifies the StorageCache usage model to be used for this storage target.
*/
@JvmName("khibmhdfudpysvju")
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("spbuexqgrihmoram")
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("xfafwtamlenbgoyy")
public suspend fun writeBackTimer(`value`: Output) {
this.writeBackTimer = value
}
/**
* @param value Resource ID of the storage container.
*/
@JvmName("pyaunbndmnbhhrlj")
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("weidgigtrmmdvebv")
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("tqvcejexovxtwuvc")
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("yqldlqueyvaoilvl")
public suspend fun writeBackTimer(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.writeBackTimer = mapped
}
internal fun build(): BlobNfsTargetArgs = BlobNfsTargetArgs(
target = target,
usageModel = usageModel,
verificationTimer = verificationTimer,
writeBackTimer = writeBackTimer,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy