com.pulumi.awsnative.batch.kotlin.inputs.JobDefinitionEksPropertiesArgs.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.JobDefinitionEksPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property podProperties The properties for the Kubernetes pod resources of a job.
*/
public data class JobDefinitionEksPropertiesArgs(
public val podProperties: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.batch.inputs.JobDefinitionEksPropertiesArgs =
com.pulumi.awsnative.batch.inputs.JobDefinitionEksPropertiesArgs.builder()
.podProperties(podProperties?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [JobDefinitionEksPropertiesArgs].
*/
@PulumiTagMarker
public class JobDefinitionEksPropertiesArgsBuilder internal constructor() {
private var podProperties: Output? = null
/**
* @param value The properties for the Kubernetes pod resources of a job.
*/
@JvmName("xflfvlosqafkoidg")
public suspend fun podProperties(`value`: Output) {
this.podProperties = value
}
/**
* @param value The properties for the Kubernetes pod resources of a job.
*/
@JvmName("skvyiyshrdpvegxb")
public suspend fun podProperties(`value`: JobDefinitionPodPropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.podProperties = mapped
}
/**
* @param argument The properties for the Kubernetes pod resources of a job.
*/
@JvmName("wflwktugwolddpae")
public suspend fun podProperties(argument: suspend JobDefinitionPodPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = JobDefinitionPodPropertiesArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.podProperties = mapped
}
internal fun build(): JobDefinitionEksPropertiesArgs = JobDefinitionEksPropertiesArgs(
podProperties = podProperties,
)
}