com.pulumi.awsnative.batch.kotlin.inputs.JobDefinitionDeviceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-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.awsnative.batch.kotlin.inputs
import com.pulumi.awsnative.batch.inputs.JobDefinitionDeviceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property containerPath The path inside the container that's used to expose the host device. By default, the `hostPath` value is used.
* @property hostPath The path for the device on the host container instance.
* @property permissions The explicit permissions to provide to the container for the device. By default, the container has permissions for `read` , `write` , and `mknod` for the device.
*/
public data class JobDefinitionDeviceArgs(
public val containerPath: Output? = null,
public val hostPath: Output? = null,
public val permissions: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.batch.inputs.JobDefinitionDeviceArgs =
com.pulumi.awsnative.batch.inputs.JobDefinitionDeviceArgs.builder()
.containerPath(containerPath?.applyValue({ args0 -> args0 }))
.hostPath(hostPath?.applyValue({ args0 -> args0 }))
.permissions(permissions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [JobDefinitionDeviceArgs].
*/
@PulumiTagMarker
public class JobDefinitionDeviceArgsBuilder internal constructor() {
private var containerPath: Output? = null
private var hostPath: Output? = null
private var permissions: Output>? = null
/**
* @param value The path inside the container that's used to expose the host device. By default, the `hostPath` value is used.
*/
@JvmName("wrqgpaueajiwllmr")
public suspend fun containerPath(`value`: Output) {
this.containerPath = value
}
/**
* @param value The path for the device on the host container instance.
*/
@JvmName("qgksvomjjmbwyehq")
public suspend fun hostPath(`value`: Output) {
this.hostPath = value
}
/**
* @param value The explicit permissions to provide to the container for the device. By default, the container has permissions for `read` , `write` , and `mknod` for the device.
*/
@JvmName("rjrrauujehlymnme")
public suspend fun permissions(`value`: Output>) {
this.permissions = value
}
@JvmName("lxlidvdfirjnudwp")
public suspend fun permissions(vararg values: Output) {
this.permissions = Output.all(values.asList())
}
/**
* @param values The explicit permissions to provide to the container for the device. By default, the container has permissions for `read` , `write` , and `mknod` for the device.
*/
@JvmName("xjunocwowqoerogs")
public suspend fun permissions(values: List