com.pulumi.gcp.apigee.kotlin.inputs.EnvironmentNodeConfigArgs.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.apigee.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.apigee.inputs.EnvironmentNodeConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property currentAggregateNodeCount (Output)
* The current total number of gateway nodes that each environment currently has across
* all instances.
* @property maxNodeCount The maximum total number of gateway nodes that the is reserved for all instances that
* has the specified environment. If not specified, the default is determined by the
* recommended maximum number of nodes for that gateway.
* @property minNodeCount The minimum total number of gateway nodes that the is reserved for all instances that
* has the specified environment. If not specified, the default is determined by the
* recommended minimum number of nodes for that gateway.
*/
public data class EnvironmentNodeConfigArgs(
public val currentAggregateNodeCount: Output? = null,
public val maxNodeCount: Output? = null,
public val minNodeCount: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.apigee.inputs.EnvironmentNodeConfigArgs =
com.pulumi.gcp.apigee.inputs.EnvironmentNodeConfigArgs.builder()
.currentAggregateNodeCount(currentAggregateNodeCount?.applyValue({ args0 -> args0 }))
.maxNodeCount(maxNodeCount?.applyValue({ args0 -> args0 }))
.minNodeCount(minNodeCount?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EnvironmentNodeConfigArgs].
*/
@PulumiTagMarker
public class EnvironmentNodeConfigArgsBuilder internal constructor() {
private var currentAggregateNodeCount: Output? = null
private var maxNodeCount: Output? = null
private var minNodeCount: Output? = null
/**
* @param value (Output)
* The current total number of gateway nodes that each environment currently has across
* all instances.
*/
@JvmName("kkielndbhpmcedlk")
public suspend fun currentAggregateNodeCount(`value`: Output) {
this.currentAggregateNodeCount = value
}
/**
* @param value The maximum total number of gateway nodes that the is reserved for all instances that
* has the specified environment. If not specified, the default is determined by the
* recommended maximum number of nodes for that gateway.
*/
@JvmName("fmbokkpsiagupnuq")
public suspend fun maxNodeCount(`value`: Output) {
this.maxNodeCount = value
}
/**
* @param value The minimum total number of gateway nodes that the is reserved for all instances that
* has the specified environment. If not specified, the default is determined by the
* recommended minimum number of nodes for that gateway.
*/
@JvmName("grbebmattemjbhci")
public suspend fun minNodeCount(`value`: Output) {
this.minNodeCount = value
}
/**
* @param value (Output)
* The current total number of gateway nodes that each environment currently has across
* all instances.
*/
@JvmName("gqlgxaxefomckrmg")
public suspend fun currentAggregateNodeCount(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.currentAggregateNodeCount = mapped
}
/**
* @param value The maximum total number of gateway nodes that the is reserved for all instances that
* has the specified environment. If not specified, the default is determined by the
* recommended maximum number of nodes for that gateway.
*/
@JvmName("xoaroxwdjlpheciw")
public suspend fun maxNodeCount(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxNodeCount = mapped
}
/**
* @param value The minimum total number of gateway nodes that the is reserved for all instances that
* has the specified environment. If not specified, the default is determined by the
* recommended minimum number of nodes for that gateway.
*/
@JvmName("rktpadwponkagfxa")
public suspend fun minNodeCount(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minNodeCount = mapped
}
internal fun build(): EnvironmentNodeConfigArgs = EnvironmentNodeConfigArgs(
currentAggregateNodeCount = currentAggregateNodeCount,
maxNodeCount = maxNodeCount,
minNodeCount = minNodeCount,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy