![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.logic.kotlin.inputs.IntegrationServiceEnvironmentSkuArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.logic.kotlin.inputs
import com.pulumi.azurenative.logic.inputs.IntegrationServiceEnvironmentSkuArgs.builder
import com.pulumi.azurenative.logic.kotlin.enums.IntegrationServiceEnvironmentSkuName
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The integration service environment sku.
* @property capacity The sku capacity.
* @property name The sku name.
*/
public data class IntegrationServiceEnvironmentSkuArgs(
public val capacity: Output? = null,
public val name: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.logic.inputs.IntegrationServiceEnvironmentSkuArgs =
com.pulumi.azurenative.logic.inputs.IntegrationServiceEnvironmentSkuArgs.builder()
.capacity(capacity?.applyValue({ args0 -> args0 }))
.name(
name?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [IntegrationServiceEnvironmentSkuArgs].
*/
@PulumiTagMarker
public class IntegrationServiceEnvironmentSkuArgsBuilder internal constructor() {
private var capacity: Output? = null
private var name: Output>? = null
/**
* @param value The sku capacity.
*/
@JvmName("ivjhfiisbecvyuni")
public suspend fun capacity(`value`: Output) {
this.capacity = value
}
/**
* @param value The sku name.
*/
@JvmName("gjvnendigmrqfcct")
public suspend fun name(`value`: Output>) {
this.name = value
}
/**
* @param value The sku capacity.
*/
@JvmName("olsrpydfauyoensw")
public suspend fun capacity(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.capacity = mapped
}
/**
* @param value The sku name.
*/
@JvmName("hnesjbuydmcepvaq")
public suspend fun name(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The sku name.
*/
@JvmName("aohhullgfqmrruch")
public fun name(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The sku name.
*/
@JvmName("vjyvkceyxnskjloj")
public fun name(`value`: IntegrationServiceEnvironmentSkuName) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): IntegrationServiceEnvironmentSkuArgs = IntegrationServiceEnvironmentSkuArgs(
capacity = capacity,
name = name,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy