com.pulumi.aws.ec2.kotlin.inputs.LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.ec2.kotlin.inputs
import com.pulumi.aws.ec2.inputs.LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property max Maximum.
* @property min Minimum.
*/
public data class LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgs(
public val max: Output? = null,
public val min: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.ec2.inputs.LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgs =
com.pulumi.aws.ec2.inputs.LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgs.builder()
.max(max?.applyValue({ args0 -> args0 }))
.min(min?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgs].
*/
@PulumiTagMarker
public class LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgsBuilder internal constructor() {
private var max: Output? = null
private var min: Output? = null
/**
* @param value Maximum.
*/
@JvmName("tcvcowajdpcjbgaj")
public suspend fun max(`value`: Output) {
this.max = value
}
/**
* @param value Minimum.
*/
@JvmName("oqjqwebnriplfgvj")
public suspend fun min(`value`: Output) {
this.min = value
}
/**
* @param value Maximum.
*/
@JvmName("mjnycvcbnyilmxwh")
public suspend fun max(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.max = mapped
}
/**
* @param value Minimum.
*/
@JvmName("iavwfrtfqwdvqims")
public suspend fun min(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.min = mapped
}
internal fun build(): LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgs =
LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgs(
max = max,
min = min,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy