com.pulumi.azure.hpc.kotlin.inputs.CacheDirectoryFlatFileArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.hpc.kotlin.inputs
import com.pulumi.azure.hpc.inputs.CacheDirectoryFlatFileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property groupFileUri The URI of the file containing group information (`/etc/group` file format in Unix-like OS).
* @property passwordFileUri The URI of the file containing user information (`/etc/passwd` file format in Unix-like OS).
*/
public data class CacheDirectoryFlatFileArgs(
public val groupFileUri: Output,
public val passwordFileUri: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.hpc.inputs.CacheDirectoryFlatFileArgs =
com.pulumi.azure.hpc.inputs.CacheDirectoryFlatFileArgs.builder()
.groupFileUri(groupFileUri.applyValue({ args0 -> args0 }))
.passwordFileUri(passwordFileUri.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CacheDirectoryFlatFileArgs].
*/
@PulumiTagMarker
public class CacheDirectoryFlatFileArgsBuilder internal constructor() {
private var groupFileUri: Output? = null
private var passwordFileUri: Output? = null
/**
* @param value The URI of the file containing group information (`/etc/group` file format in Unix-like OS).
*/
@JvmName("pubekygvwywcudpj")
public suspend fun groupFileUri(`value`: Output) {
this.groupFileUri = value
}
/**
* @param value The URI of the file containing user information (`/etc/passwd` file format in Unix-like OS).
*/
@JvmName("skfchspsyuufahkx")
public suspend fun passwordFileUri(`value`: Output) {
this.passwordFileUri = value
}
/**
* @param value The URI of the file containing group information (`/etc/group` file format in Unix-like OS).
*/
@JvmName("htpjurqecsvnipay")
public suspend fun groupFileUri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.groupFileUri = mapped
}
/**
* @param value The URI of the file containing user information (`/etc/passwd` file format in Unix-like OS).
*/
@JvmName("fapkwwpskdsaujej")
public suspend fun passwordFileUri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.passwordFileUri = mapped
}
internal fun build(): CacheDirectoryFlatFileArgs = CacheDirectoryFlatFileArgs(
groupFileUri = groupFileUri ?: throw PulumiNullFieldException("groupFileUri"),
passwordFileUri = passwordFileUri ?: throw PulumiNullFieldException("passwordFileUri"),
)
}