All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.ec2.kotlin.inputs.SpotFleetTotalLocalStorageGbRequestArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ec2.kotlin.inputs

import com.pulumi.awsnative.ec2.inputs.SpotFleetTotalLocalStorageGbRequestArgs.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 total local storage, in GB. To specify no maximum limit, omit this parameter.
 * @property min The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter.
 */
public data class SpotFleetTotalLocalStorageGbRequestArgs(
    public val max: Output? = null,
    public val min: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.inputs.SpotFleetTotalLocalStorageGbRequestArgs =
        com.pulumi.awsnative.ec2.inputs.SpotFleetTotalLocalStorageGbRequestArgs.builder()
            .max(max?.applyValue({ args0 -> args0 }))
            .min(min?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SpotFleetTotalLocalStorageGbRequestArgs].
 */
@PulumiTagMarker
public class SpotFleetTotalLocalStorageGbRequestArgsBuilder internal constructor() {
    private var max: Output? = null

    private var min: Output? = null

    /**
     * @param value The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter.
     */
    @JvmName("vkucwxylrfvgnrqo")
    public suspend fun max(`value`: Output) {
        this.max = value
    }

    /**
     * @param value The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter.
     */
    @JvmName("hceoalorjeksgurl")
    public suspend fun min(`value`: Output) {
        this.min = value
    }

    /**
     * @param value The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter.
     */
    @JvmName("ojalxwsbnknqtyrc")
    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 total local storage, in GB. To specify no minimum limit, omit this parameter.
     */
    @JvmName("dxeoaxsmbtbiqvqh")
    public suspend fun min(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.min = mapped
    }

    internal fun build(): SpotFleetTotalLocalStorageGbRequestArgs =
        SpotFleetTotalLocalStorageGbRequestArgs(
            max = max,
            min = min,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy