com.pulumi.awsnative.ec2.kotlin.inputs.Ec2FleetBaselineEbsBandwidthMbpsRequestArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.ec2.kotlin.inputs
import com.pulumi.awsnative.ec2.inputs.Ec2FleetBaselineEbsBandwidthMbpsRequestArgs.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 The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter.
* @property min The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter.
*/
public data class Ec2FleetBaselineEbsBandwidthMbpsRequestArgs(
public val max: Output? = null,
public val min: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.inputs.Ec2FleetBaselineEbsBandwidthMbpsRequestArgs = com.pulumi.awsnative.ec2.inputs.Ec2FleetBaselineEbsBandwidthMbpsRequestArgs.builder()
.max(max?.applyValue({ args0 -> args0 }))
.min(min?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [Ec2FleetBaselineEbsBandwidthMbpsRequestArgs].
*/
@PulumiTagMarker
public class Ec2FleetBaselineEbsBandwidthMbpsRequestArgsBuilder internal constructor() {
private var max: Output? = null
private var min: Output? = null
/**
* @param value The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter.
*/
@JvmName("kavnhbnfwugywtuj")
public suspend fun max(`value`: Output) {
this.max = value
}
/**
* @param value The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter.
*/
@JvmName("ohhcaekhtffegiyc")
public suspend fun min(`value`: Output) {
this.min = value
}
/**
* @param value The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter.
*/
@JvmName("hurvwdjmwsceaalu")
public suspend fun max(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.max = mapped
}
/**
* @param value The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter.
*/
@JvmName("trlxlhvecwsletix")
public suspend fun min(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.min = mapped
}
internal fun build(): Ec2FleetBaselineEbsBandwidthMbpsRequestArgs =
Ec2FleetBaselineEbsBandwidthMbpsRequestArgs(
max = max,
min = min,
)
}