![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.app.kotlin.inputs.JavaComponentServiceBindArgs.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.app.kotlin.inputs
import com.pulumi.azurenative.app.inputs.JavaComponentServiceBindArgs.builder
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
/**
* Configuration to bind a Java Component to another Java Component
* @property name Name of the service bind
* @property serviceId Resource id of the target service
*/
public data class JavaComponentServiceBindArgs(
public val name: Output? = null,
public val serviceId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.app.inputs.JavaComponentServiceBindArgs =
com.pulumi.azurenative.app.inputs.JavaComponentServiceBindArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.serviceId(serviceId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JavaComponentServiceBindArgs].
*/
@PulumiTagMarker
public class JavaComponentServiceBindArgsBuilder internal constructor() {
private var name: Output? = null
private var serviceId: Output? = null
/**
* @param value Name of the service bind
*/
@JvmName("yieoiosqbygtgixh")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Resource id of the target service
*/
@JvmName("atygynxwolfahacp")
public suspend fun serviceId(`value`: Output) {
this.serviceId = value
}
/**
* @param value Name of the service bind
*/
@JvmName("urtbxtucvrbfdjsr")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Resource id of the target service
*/
@JvmName("bskvsmydqotgbhbu")
public suspend fun serviceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serviceId = mapped
}
internal fun build(): JavaComponentServiceBindArgs = JavaComponentServiceBindArgs(
name = name,
serviceId = serviceId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy