
com.pulumi.awsnative.ec2.kotlin.inputs.SpotFleetNetworkBandwidthGbpsRequestArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.inputs
import com.pulumi.awsnative.ec2.inputs.SpotFleetNetworkBandwidthGbpsRequestArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property max The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.
* @property min The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.
*/
public data class SpotFleetNetworkBandwidthGbpsRequestArgs(
public val max: Output? = null,
public val min: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.inputs.SpotFleetNetworkBandwidthGbpsRequestArgs =
com.pulumi.awsnative.ec2.inputs.SpotFleetNetworkBandwidthGbpsRequestArgs.builder()
.max(max?.applyValue({ args0 -> args0 }))
.min(min?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SpotFleetNetworkBandwidthGbpsRequestArgs].
*/
@PulumiTagMarker
public class SpotFleetNetworkBandwidthGbpsRequestArgsBuilder internal constructor() {
private var max: Output? = null
private var min: Output? = null
/**
* @param value The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.
*/
@JvmName("kjfsyqjfmcrgayyv")
public suspend fun max(`value`: Output) {
this.max = value
}
/**
* @param value The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.
*/
@JvmName("gnnwsjatbfwyjdsg")
public suspend fun min(`value`: Output) {
this.min = value
}
/**
* @param value The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.
*/
@JvmName("ghxfjsjkdodwtsoo")
public suspend fun max(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.max = mapped
}
/**
* @param value The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.
*/
@JvmName("kxtvghfvgexialvh")
public suspend fun min(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.min = mapped
}
internal fun build(): SpotFleetNetworkBandwidthGbpsRequestArgs =
SpotFleetNetworkBandwidthGbpsRequestArgs(
max = max,
min = min,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy