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

com.pulumi.azurenative.migrate.kotlin.inputs.LaborSettingsArgs.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.LaborSettingsArgs.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.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Labour settings.
 * @property hourlyAdminCost Hourly administrator cost.
 * @property physicalServersPerAdmin Physical servers per administrator.
 * @property virtualMachinesPerAdmin Virtual machines per administrator.
 */
public data class LaborSettingsArgs(
    public val hourlyAdminCost: Output,
    public val physicalServersPerAdmin: Output,
    public val virtualMachinesPerAdmin: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.migrate.inputs.LaborSettingsArgs =
        com.pulumi.azurenative.migrate.inputs.LaborSettingsArgs.builder()
            .hourlyAdminCost(hourlyAdminCost.applyValue({ args0 -> args0 }))
            .physicalServersPerAdmin(physicalServersPerAdmin.applyValue({ args0 -> args0 }))
            .virtualMachinesPerAdmin(virtualMachinesPerAdmin.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LaborSettingsArgs].
 */
@PulumiTagMarker
public class LaborSettingsArgsBuilder internal constructor() {
    private var hourlyAdminCost: Output? = null

    private var physicalServersPerAdmin: Output? = null

    private var virtualMachinesPerAdmin: Output? = null

    /**
     * @param value Hourly administrator cost.
     */
    @JvmName("wpjprvxksglqcunk")
    public suspend fun hourlyAdminCost(`value`: Output) {
        this.hourlyAdminCost = value
    }

    /**
     * @param value Physical servers per administrator.
     */
    @JvmName("rlaalsrshjmjhpdy")
    public suspend fun physicalServersPerAdmin(`value`: Output) {
        this.physicalServersPerAdmin = value
    }

    /**
     * @param value Virtual machines per administrator.
     */
    @JvmName("sjejwogodplyprul")
    public suspend fun virtualMachinesPerAdmin(`value`: Output) {
        this.virtualMachinesPerAdmin = value
    }

    /**
     * @param value Hourly administrator cost.
     */
    @JvmName("natpdafxuoyppvnf")
    public suspend fun hourlyAdminCost(`value`: Double) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.hourlyAdminCost = mapped
    }

    /**
     * @param value Physical servers per administrator.
     */
    @JvmName("yordtpmrwdgrnell")
    public suspend fun physicalServersPerAdmin(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.physicalServersPerAdmin = mapped
    }

    /**
     * @param value Virtual machines per administrator.
     */
    @JvmName("eyckwhcgiiqssvyh")
    public suspend fun virtualMachinesPerAdmin(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.virtualMachinesPerAdmin = mapped
    }

    internal fun build(): LaborSettingsArgs = LaborSettingsArgs(
        hourlyAdminCost = hourlyAdminCost ?: throw PulumiNullFieldException("hourlyAdminCost"),
        physicalServersPerAdmin = physicalServersPerAdmin ?: throw
            PulumiNullFieldException("physicalServersPerAdmin"),
        virtualMachinesPerAdmin = virtualMachinesPerAdmin ?: throw
            PulumiNullFieldException("virtualMachinesPerAdmin"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy