
com.pulumi.aws.batch.kotlin.inputs.JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.batch.kotlin.inputs
import com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs.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 medium Medium to store the volume. The default value is an empty string, which uses the storage of the node.
* @property sizeLimit Maximum size of the volume. By default, there's no maximum size defined.
*/
public data class JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs(
public val medium: Output? = null,
public val sizeLimit: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs =
com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs.builder()
.medium(medium?.applyValue({ args0 -> args0 }))
.sizeLimit(sizeLimit.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs].
*/
@PulumiTagMarker
public class JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgsBuilder internal constructor() {
private var medium: Output? = null
private var sizeLimit: Output? = null
/**
* @param value Medium to store the volume. The default value is an empty string, which uses the storage of the node.
*/
@JvmName("lmwxfnidkmwucofd")
public suspend fun medium(`value`: Output) {
this.medium = value
}
/**
* @param value Maximum size of the volume. By default, there's no maximum size defined.
*/
@JvmName("hgixhvljfupruqqh")
public suspend fun sizeLimit(`value`: Output) {
this.sizeLimit = value
}
/**
* @param value Medium to store the volume. The default value is an empty string, which uses the storage of the node.
*/
@JvmName("oaygwayynonnjcaw")
public suspend fun medium(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.medium = mapped
}
/**
* @param value Maximum size of the volume. By default, there's no maximum size defined.
*/
@JvmName("rftmknqlujhbxlcf")
public suspend fun sizeLimit(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sizeLimit = mapped
}
internal fun build(): JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs =
JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs(
medium = medium,
sizeLimit = sizeLimit ?: throw PulumiNullFieldException("sizeLimit"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy