com.pulumi.gcp.gkehub.kotlin.inputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.gkehub.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property component The identifier for this object. Format specified above.
* @property containerResources Container resource requirements.
* Structure is documented below.
* @property podAffinity Pod affinity configuration.
* Possible values are: `AFFINITY_UNSPECIFIED`, `NO_AFFINITY`, `ANTI_AFFINITY`.
* @property podTolerations Pod tolerations of node taints.
* Structure is documented below.
* @property replicaCount Pod replica count.
*/
public data class
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigArgs(
public val component: Output,
public val containerResources: Output? =
null,
public val podAffinity: Output? = null,
public val podTolerations: Output>? =
null,
public val replicaCount: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigArgs =
com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigArgs.builder()
.component(component.applyValue({ args0 -> args0 }))
.containerResources(
containerResources?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.podAffinity(podAffinity?.applyValue({ args0 -> args0 }))
.podTolerations(
podTolerations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.replicaCount(replicaCount?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigArgs].
*/
@PulumiTagMarker
public class
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigArgsBuilder
internal constructor() {
private var component: Output? = null
private var containerResources:
Output? =
null
private var podAffinity: Output? = null
private var podTolerations:
Output>? =
null
private var replicaCount: Output? = null
/**
* @param value The identifier for this object. Format specified above.
*/
@JvmName("fosbmbqvyqcerisc")
public suspend fun component(`value`: Output) {
this.component = value
}
/**
* @param value Container resource requirements.
* Structure is documented below.
*/
@JvmName("sjwdedycmhofcmap")
public suspend fun containerResources(`value`: Output) {
this.containerResources = value
}
/**
* @param value Pod affinity configuration.
* Possible values are: `AFFINITY_UNSPECIFIED`, `NO_AFFINITY`, `ANTI_AFFINITY`.
*/
@JvmName("rkjxkgyvdsajmmnf")
public suspend fun podAffinity(`value`: Output) {
this.podAffinity = value
}
/**
* @param value Pod tolerations of node taints.
* Structure is documented below.
*/
@JvmName("moegwrkuqtmfoiuw")
public suspend fun podTolerations(`value`: Output>) {
this.podTolerations = value
}
@JvmName("cxoiumprpiwfstfp")
public suspend fun podTolerations(vararg values: Output) {
this.podTolerations = Output.all(values.asList())
}
/**
* @param values Pod tolerations of node taints.
* Structure is documented below.
*/
@JvmName("bjarpxmrlrvbambc")
public suspend fun podTolerations(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy