![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.providerhub.kotlin.inputs.ServiceTreeInfoArgs.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.providerhub.kotlin.inputs
import com.pulumi.azurenative.providerhub.inputs.ServiceTreeInfoArgs.builder
import com.pulumi.azurenative.providerhub.kotlin.enums.Readiness
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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property componentId
* @property readiness
* @property serviceId
*/
public data class ServiceTreeInfoArgs(
public val componentId: Output? = null,
public val readiness: Output>? = null,
public val serviceId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.providerhub.inputs.ServiceTreeInfoArgs =
com.pulumi.azurenative.providerhub.inputs.ServiceTreeInfoArgs.builder()
.componentId(componentId?.applyValue({ args0 -> args0 }))
.readiness(
readiness?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.serviceId(serviceId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceTreeInfoArgs].
*/
@PulumiTagMarker
public class ServiceTreeInfoArgsBuilder internal constructor() {
private var componentId: Output? = null
private var readiness: Output>? = null
private var serviceId: Output? = null
/**
* @param value
*/
@JvmName("rrmxmphevrqwigqa")
public suspend fun componentId(`value`: Output) {
this.componentId = value
}
/**
* @param value
*/
@JvmName("pxqtkmpwmqnixnmw")
public suspend fun readiness(`value`: Output>) {
this.readiness = value
}
/**
* @param value
*/
@JvmName("evsicwovexfmfmwq")
public suspend fun serviceId(`value`: Output) {
this.serviceId = value
}
/**
* @param value
*/
@JvmName("qmatyeeatmnvnwcf")
public suspend fun componentId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.componentId = mapped
}
/**
* @param value
*/
@JvmName("exlfhyypbuvtxwpp")
public suspend fun readiness(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.readiness = mapped
}
/**
* @param value
*/
@JvmName("eaikyitfjwbqwing")
public fun readiness(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.readiness = mapped
}
/**
* @param value
*/
@JvmName("fuytppejckxrjcrn")
public fun readiness(`value`: Readiness) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.readiness = mapped
}
/**
* @param value
*/
@JvmName("jkfplkjaeebvasod")
public suspend fun serviceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serviceId = mapped
}
internal fun build(): ServiceTreeInfoArgs = ServiceTreeInfoArgs(
componentId = componentId,
readiness = readiness,
serviceId = serviceId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy