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

com.pulumi.azurenative.migrate.kotlin.inputs.StorageSettingsArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.migrate.kotlin.inputs

import com.pulumi.azurenative.migrate.inputs.StorageSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Storage settings.
 * @property costPerGbPerMonth Cost per gigabyte per month.
 * @property maintainanceCostPercentageToAcquisitionCost Maintenance cost percentage.
 */
public data class StorageSettingsArgs(
    public val costPerGbPerMonth: Output,
    public val maintainanceCostPercentageToAcquisitionCost: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.migrate.inputs.StorageSettingsArgs =
        com.pulumi.azurenative.migrate.inputs.StorageSettingsArgs.builder()
            .costPerGbPerMonth(costPerGbPerMonth.applyValue({ args0 -> args0 }))
            .maintainanceCostPercentageToAcquisitionCost(
                maintainanceCostPercentageToAcquisitionCost.applyValue({ args0 ->
                    args0
                }),
            ).build()
}

/**
 * Builder for [StorageSettingsArgs].
 */
@PulumiTagMarker
public class StorageSettingsArgsBuilder internal constructor() {
    private var costPerGbPerMonth: Output? = null

    private var maintainanceCostPercentageToAcquisitionCost: Output? = null

    /**
     * @param value Cost per gigabyte per month.
     */
    @JvmName("vyvltmjtocrkxbdc")
    public suspend fun costPerGbPerMonth(`value`: Output) {
        this.costPerGbPerMonth = value
    }

    /**
     * @param value Maintenance cost percentage.
     */
    @JvmName("brrlvaveceqgksst")
    public suspend fun maintainanceCostPercentageToAcquisitionCost(`value`: Output) {
        this.maintainanceCostPercentageToAcquisitionCost = value
    }

    /**
     * @param value Cost per gigabyte per month.
     */
    @JvmName("yjotjdixliaawufl")
    public suspend fun costPerGbPerMonth(`value`: Double) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.costPerGbPerMonth = mapped
    }

    /**
     * @param value Maintenance cost percentage.
     */
    @JvmName("rpavwepufnwrakcq")
    public suspend fun maintainanceCostPercentageToAcquisitionCost(`value`: Double) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.maintainanceCostPercentageToAcquisitionCost = mapped
    }

    internal fun build(): StorageSettingsArgs = StorageSettingsArgs(
        costPerGbPerMonth = costPerGbPerMonth ?: throw PulumiNullFieldException("costPerGbPerMonth"),
        maintainanceCostPercentageToAcquisitionCost = maintainanceCostPercentageToAcquisitionCost ?: throw
            PulumiNullFieldException("maintainanceCostPercentageToAcquisitionCost"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy