
com.pulumi.awsnative.codedeploy.kotlin.inputs.DeploymentConfigMinimumHealthyHostsPerZoneArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.codedeploy.kotlin.inputs
import com.pulumi.awsnative.codedeploy.inputs.DeploymentConfigMinimumHealthyHostsPerZoneArgs.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 type The `type` associated with the `MinimumHealthyHostsPerZone` option.
* @property value The `value` associated with the `MinimumHealthyHostsPerZone` option.
*/
public data class DeploymentConfigMinimumHealthyHostsPerZoneArgs(
public val type: Output,
public val `value`: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.codedeploy.inputs.DeploymentConfigMinimumHealthyHostsPerZoneArgs =
com.pulumi.awsnative.codedeploy.inputs.DeploymentConfigMinimumHealthyHostsPerZoneArgs.builder()
.type(type.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeploymentConfigMinimumHealthyHostsPerZoneArgs].
*/
@PulumiTagMarker
public class DeploymentConfigMinimumHealthyHostsPerZoneArgsBuilder internal constructor() {
private var type: Output? = null
private var `value`: Output? = null
/**
* @param value The `type` associated with the `MinimumHealthyHostsPerZone` option.
*/
@JvmName("bbdcightkvryitxi")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The `value` associated with the `MinimumHealthyHostsPerZone` option.
*/
@JvmName("rndcqyaklaiblmyx")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The `type` associated with the `MinimumHealthyHostsPerZone` option.
*/
@JvmName("bgpkhhepntktqlxo")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value The `value` associated with the `MinimumHealthyHostsPerZone` option.
*/
@JvmName("bjsufwtskoybmxdj")
public suspend fun `value`(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): DeploymentConfigMinimumHealthyHostsPerZoneArgs =
DeploymentConfigMinimumHealthyHostsPerZoneArgs(
type = type ?: throw PulumiNullFieldException("type"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy