com.pulumi.aws.batch.kotlin.inputs.JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMountArgs.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.batch.kotlin.inputs
import com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMountArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property mountPath
* @property name Name of the job definition.
* @property readOnly
*/
public data class JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMountArgs(
public val mountPath: Output,
public val name: Output,
public val readOnly: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMountArgs =
com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMountArgs.builder()
.mountPath(mountPath.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.readOnly(readOnly?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMountArgs].
*/
@PulumiTagMarker
public class JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMountArgsBuilder internal constructor() {
private var mountPath: Output? = null
private var name: Output? = null
private var readOnly: Output? = null
/**
* @param value
*/
@JvmName("vhahvdmvxkajakoj")
public suspend fun mountPath(`value`: Output) {
this.mountPath = value
}
/**
* @param value Name of the job definition.
*/
@JvmName("gmrtkikhaupmrrpx")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value
*/
@JvmName("nriltjcmplovlskm")
public suspend fun readOnly(`value`: Output) {
this.readOnly = value
}
/**
* @param value
*/
@JvmName("mhysrdkwvuyossds")
public suspend fun mountPath(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mountPath = mapped
}
/**
* @param value Name of the job definition.
*/
@JvmName("emmptgsekgbsqsfi")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value
*/
@JvmName("jlyrkcnakpxcwrjd")
public suspend fun readOnly(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.readOnly = mapped
}
internal fun build(): JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMountArgs =
JobDefinitionEksPropertiesPodPropertiesInitContainerVolumeMountArgs(
mountPath = mountPath ?: throw PulumiNullFieldException("mountPath"),
name = name ?: throw PulumiNullFieldException("name"),
readOnly = readOnly,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy