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

com.pulumi.azurenative.migrate.kotlin.inputs.ThirdPartyManagementSettingsArgs.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.ThirdPartyManagementSettingsArgs.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

/**
 * Third Party Management settings.
 * @property licenseCost License Cost.
 * @property supportCost Support Cost.
 */
public data class ThirdPartyManagementSettingsArgs(
    public val licenseCost: Output,
    public val supportCost: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.migrate.inputs.ThirdPartyManagementSettingsArgs =
        com.pulumi.azurenative.migrate.inputs.ThirdPartyManagementSettingsArgs.builder()
            .licenseCost(licenseCost.applyValue({ args0 -> args0 }))
            .supportCost(supportCost.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ThirdPartyManagementSettingsArgs].
 */
@PulumiTagMarker
public class ThirdPartyManagementSettingsArgsBuilder internal constructor() {
    private var licenseCost: Output? = null

    private var supportCost: Output? = null

    /**
     * @param value License Cost.
     */
    @JvmName("lauqskhwoghwpnct")
    public suspend fun licenseCost(`value`: Output) {
        this.licenseCost = value
    }

    /**
     * @param value Support Cost.
     */
    @JvmName("ohduvkpuibpaxgnu")
    public suspend fun supportCost(`value`: Output) {
        this.supportCost = value
    }

    /**
     * @param value License Cost.
     */
    @JvmName("jaugarrmofvprslj")
    public suspend fun licenseCost(`value`: Double) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.licenseCost = mapped
    }

    /**
     * @param value Support Cost.
     */
    @JvmName("lurwvrqlpvagijfv")
    public suspend fun supportCost(`value`: Double) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.supportCost = mapped
    }

    internal fun build(): ThirdPartyManagementSettingsArgs = ThirdPartyManagementSettingsArgs(
        licenseCost = licenseCost ?: throw PulumiNullFieldException("licenseCost"),
        supportCost = supportCost ?: throw PulumiNullFieldException("supportCost"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy