
com.pulumi.awsnative.batch.kotlin.inputs.JobDefinitionUlimitArgs.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.JobDefinitionUlimitArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property hardLimit The hard limit for the `ulimit` type.
* @property name The `type` of the `ulimit` . Valid values are: `core` | `cpu` | `data` | `fsize` | `locks` | `memlock` | `msgqueue` | `nice` | `nofile` | `nproc` | `rss` | `rtprio` | `rttime` | `sigpending` | `stack` .
* @property softLimit The soft limit for the `ulimit` type.
*/
public data class JobDefinitionUlimitArgs(
public val hardLimit: Output,
public val name: Output,
public val softLimit: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.batch.inputs.JobDefinitionUlimitArgs =
com.pulumi.awsnative.batch.inputs.JobDefinitionUlimitArgs.builder()
.hardLimit(hardLimit.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.softLimit(softLimit.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobDefinitionUlimitArgs].
*/
@PulumiTagMarker
public class JobDefinitionUlimitArgsBuilder internal constructor() {
private var hardLimit: Output? = null
private var name: Output? = null
private var softLimit: Output? = null
/**
* @param value The hard limit for the `ulimit` type.
*/
@JvmName("llplofbajihfaocd")
public suspend fun hardLimit(`value`: Output) {
this.hardLimit = value
}
/**
* @param value The `type` of the `ulimit` . Valid values are: `core` | `cpu` | `data` | `fsize` | `locks` | `memlock` | `msgqueue` | `nice` | `nofile` | `nproc` | `rss` | `rtprio` | `rttime` | `sigpending` | `stack` .
*/
@JvmName("fndsfjsbdyahurwf")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The soft limit for the `ulimit` type.
*/
@JvmName("irskqhpkpaulbdjo")
public suspend fun softLimit(`value`: Output) {
this.softLimit = value
}
/**
* @param value The hard limit for the `ulimit` type.
*/
@JvmName("iakfhotlbtuckeaq")
public suspend fun hardLimit(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.hardLimit = mapped
}
/**
* @param value The `type` of the `ulimit` . Valid values are: `core` | `cpu` | `data` | `fsize` | `locks` | `memlock` | `msgqueue` | `nice` | `nofile` | `nproc` | `rss` | `rtprio` | `rttime` | `sigpending` | `stack` .
*/
@JvmName("giasuefpkilngcic")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The soft limit for the `ulimit` type.
*/
@JvmName("bvrmkxodpxqepvjj")
public suspend fun softLimit(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.softLimit = mapped
}
internal fun build(): JobDefinitionUlimitArgs = JobDefinitionUlimitArgs(
hardLimit = hardLimit ?: throw PulumiNullFieldException("hardLimit"),
name = name ?: throw PulumiNullFieldException("name"),
softLimit = softLimit ?: throw PulumiNullFieldException("softLimit"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy