
com.pulumi.azurenative.migrate.kotlin.inputs.DiscoveredEntityLightSummaryArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.migrate.kotlin.inputs
import com.pulumi.azurenative.migrate.inputs.DiscoveredEntityLightSummaryArgs.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.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Discovered entity light summary.
* @property numberOfMachines Gets or sets the number of machines.
* @property numberOfServers Gets or sets the number of servers.
* @property numberOfWebApps Gets or sets the number of web apps.
*/
public data class DiscoveredEntityLightSummaryArgs(
public val numberOfMachines: Output,
public val numberOfServers: Output,
public val numberOfWebApps: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.migrate.inputs.DiscoveredEntityLightSummaryArgs =
com.pulumi.azurenative.migrate.inputs.DiscoveredEntityLightSummaryArgs.builder()
.numberOfMachines(numberOfMachines.applyValue({ args0 -> args0 }))
.numberOfServers(numberOfServers.applyValue({ args0 -> args0 }))
.numberOfWebApps(numberOfWebApps.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DiscoveredEntityLightSummaryArgs].
*/
@PulumiTagMarker
public class DiscoveredEntityLightSummaryArgsBuilder internal constructor() {
private var numberOfMachines: Output? = null
private var numberOfServers: Output? = null
private var numberOfWebApps: Output? = null
/**
* @param value Gets or sets the number of machines.
*/
@JvmName("myxqpyrqpbsjnord")
public suspend fun numberOfMachines(`value`: Output) {
this.numberOfMachines = value
}
/**
* @param value Gets or sets the number of servers.
*/
@JvmName("bxwesgjgslvkphdp")
public suspend fun numberOfServers(`value`: Output) {
this.numberOfServers = value
}
/**
* @param value Gets or sets the number of web apps.
*/
@JvmName("nxjucewkjwqxehwy")
public suspend fun numberOfWebApps(`value`: Output) {
this.numberOfWebApps = value
}
/**
* @param value Gets or sets the number of machines.
*/
@JvmName("rbvfyssoaaymlxui")
public suspend fun numberOfMachines(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.numberOfMachines = mapped
}
/**
* @param value Gets or sets the number of servers.
*/
@JvmName("biqvsgdpgeovmjkj")
public suspend fun numberOfServers(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.numberOfServers = mapped
}
/**
* @param value Gets or sets the number of web apps.
*/
@JvmName("bwqmelhmbhgfvwom")
public suspend fun numberOfWebApps(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.numberOfWebApps = mapped
}
internal fun build(): DiscoveredEntityLightSummaryArgs = DiscoveredEntityLightSummaryArgs(
numberOfMachines = numberOfMachines ?: throw PulumiNullFieldException("numberOfMachines"),
numberOfServers = numberOfServers ?: throw PulumiNullFieldException("numberOfServers"),
numberOfWebApps = numberOfWebApps ?: throw PulumiNullFieldException("numberOfWebApps"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy