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

com.pulumi.awsnative.lightsail.kotlin.inputs.InstanceMonthlyTransferArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lightsail.kotlin.inputs

import com.pulumi.awsnative.lightsail.inputs.InstanceMonthlyTransferArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Monthly Transfer of the Instance.
 * @property gbPerMonthAllocated GbPerMonthAllocated of the Instance.
 */
public data class InstanceMonthlyTransferArgs(
    public val gbPerMonthAllocated: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.lightsail.inputs.InstanceMonthlyTransferArgs =
        com.pulumi.awsnative.lightsail.inputs.InstanceMonthlyTransferArgs.builder()
            .gbPerMonthAllocated(gbPerMonthAllocated?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [InstanceMonthlyTransferArgs].
 */
@PulumiTagMarker
public class InstanceMonthlyTransferArgsBuilder internal constructor() {
    private var gbPerMonthAllocated: Output? = null

    /**
     * @param value GbPerMonthAllocated of the Instance.
     */
    @JvmName("ntpuuqvwenyjvlsi")
    public suspend fun gbPerMonthAllocated(`value`: Output) {
        this.gbPerMonthAllocated = value
    }

    /**
     * @param value GbPerMonthAllocated of the Instance.
     */
    @JvmName("tdbhttywkpaxyftk")
    public suspend fun gbPerMonthAllocated(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.gbPerMonthAllocated = mapped
    }

    internal fun build(): InstanceMonthlyTransferArgs = InstanceMonthlyTransferArgs(
        gbPerMonthAllocated = gbPerMonthAllocated,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy