
com.pulumi.awsnative.batch.kotlin.inputs.JobDefinitionEksContainerVolumeMountArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.batch.kotlin.inputs
import com.pulumi.awsnative.batch.inputs.JobDefinitionEksContainerVolumeMountArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property mountPath The path on the container where the volume is mounted.
* @property name The name the volume mount. This must match the name of one of the volumes in the pod.
* @property readOnly If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` .
*/
public data class JobDefinitionEksContainerVolumeMountArgs(
public val mountPath: Output? = null,
public val name: Output? = null,
public val readOnly: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.batch.inputs.JobDefinitionEksContainerVolumeMountArgs = com.pulumi.awsnative.batch.inputs.JobDefinitionEksContainerVolumeMountArgs.builder()
.mountPath(mountPath?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.readOnly(readOnly?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobDefinitionEksContainerVolumeMountArgs].
*/
@PulumiTagMarker
public class JobDefinitionEksContainerVolumeMountArgsBuilder internal constructor() {
private var mountPath: Output? = null
private var name: Output? = null
private var readOnly: Output? = null
/**
* @param value The path on the container where the volume is mounted.
*/
@JvmName("teuybjqfjkggelwr")
public suspend fun mountPath(`value`: Output) {
this.mountPath = value
}
/**
* @param value The name the volume mount. This must match the name of one of the volumes in the pod.
*/
@JvmName("triiklkwlvipjhyp")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` .
*/
@JvmName("cnxdgmakuguyjqtr")
public suspend fun readOnly(`value`: Output) {
this.readOnly = value
}
/**
* @param value The path on the container where the volume is mounted.
*/
@JvmName("cvnxpsqqrgwqqipr")
public suspend fun mountPath(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mountPath = mapped
}
/**
* @param value The name the volume mount. This must match the name of one of the volumes in the pod.
*/
@JvmName("bwwbssbsdpkchoua")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` .
*/
@JvmName("krrtguubdsnmqlms")
public suspend fun readOnly(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.readOnly = mapped
}
internal fun build(): JobDefinitionEksContainerVolumeMountArgs =
JobDefinitionEksContainerVolumeMountArgs(
mountPath = mountPath,
name = name,
readOnly = readOnly,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy