com.pulumi.alicloud.emrv2.kotlin.outputs.ClusterNodeGroupAutoScalingPolicyConstraints.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-alicloud-kotlin Show documentation
Show all versions of pulumi-alicloud-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.alicloud.emrv2.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property maxCapacity The maximum capacity of constraints for emr node group auto scaling policy.
* @property minCapacity The minimum capacity of constraints for emr node group auto scaling policy.
*/
public data class ClusterNodeGroupAutoScalingPolicyConstraints(
public val maxCapacity: Int? = null,
public val minCapacity: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.alicloud.emrv2.outputs.ClusterNodeGroupAutoScalingPolicyConstraints): ClusterNodeGroupAutoScalingPolicyConstraints = ClusterNodeGroupAutoScalingPolicyConstraints(
maxCapacity = javaType.maxCapacity().map({ args0 -> args0 }).orElse(null),
minCapacity = javaType.minCapacity().map({ args0 -> args0 }).orElse(null),
)
}
}