com.pulumi.gcp.gkehub.kotlin.inputs.FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesRequestsArgs.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.FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesRequestsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property cpu CPU requirement expressed in Kubernetes resource units.
* @property memory Memory requirement expressed in Kubernetes resource units.
*/
public data class
FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesRequestsArgs(
public val cpu: Output? = null,
public val memory: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesRequestsArgs =
com.pulumi.gcp.gkehub.inputs.FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesRequestsArgs.builder()
.cpu(cpu?.applyValue({ args0 -> args0 }))
.memory(memory?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesRequestsArgs].
*/
@PulumiTagMarker
public class
FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesRequestsArgsBuilder
internal constructor() {
private var cpu: Output? = null
private var memory: Output? = null
/**
* @param value CPU requirement expressed in Kubernetes resource units.
*/
@JvmName("qflkjetjhxcoxeec")
public suspend fun cpu(`value`: Output) {
this.cpu = value
}
/**
* @param value Memory requirement expressed in Kubernetes resource units.
*/
@JvmName("atucqvocisrothfd")
public suspend fun memory(`value`: Output) {
this.memory = value
}
/**
* @param value CPU requirement expressed in Kubernetes resource units.
*/
@JvmName("gygegjtkgiocgwpj")
public suspend fun cpu(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cpu = mapped
}
/**
* @param value Memory requirement expressed in Kubernetes resource units.
*/
@JvmName("bihojyrunarkboqh")
public suspend fun memory(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.memory = mapped
}
internal fun build(): FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesRequestsArgs =
FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesRequestsArgs(
cpu = cpu,
memory = memory,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy