com.pulumi.kubernetes.batch.v1.kotlin.inputs.PodFailurePolicyOnPodConditionsPatternPatchArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-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.kubernetes.batch.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kubernetes.batch.v1.inputs.PodFailurePolicyOnPodConditionsPatternPatchArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
* @property status Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
* @property type Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
*/
public data class PodFailurePolicyOnPodConditionsPatternPatchArgs(
public val status: Output? = null,
public val type: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.batch.v1.inputs.PodFailurePolicyOnPodConditionsPatternPatchArgs =
com.pulumi.kubernetes.batch.v1.inputs.PodFailurePolicyOnPodConditionsPatternPatchArgs.builder()
.status(status?.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PodFailurePolicyOnPodConditionsPatternPatchArgs].
*/
@PulumiTagMarker
public class PodFailurePolicyOnPodConditionsPatternPatchArgsBuilder internal constructor() {
private var status: Output? = null
private var type: Output? = null
/**
* @param value Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
*/
@JvmName("hxrtcssksrtmiqns")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
*/
@JvmName("abjjualucdmxndwk")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
*/
@JvmName("kcjwbyfmehiigjit")
public suspend fun status(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.status = mapped
}
/**
* @param value Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
*/
@JvmName("pxfajvjrhfxglwue")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): PodFailurePolicyOnPodConditionsPatternPatchArgs =
PodFailurePolicyOnPodConditionsPatternPatchArgs(
status = status,
type = type,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy