![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.eventgrid.kotlin.inputs.RoutingIdentityInfoArgs.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.eventgrid.kotlin.inputs
import com.pulumi.azurenative.eventgrid.inputs.RoutingIdentityInfoArgs.builder
import com.pulumi.azurenative.eventgrid.kotlin.enums.RoutingIdentityType
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
/**
* Routing identity info for topic spaces configuration.
* @property type
* @property userAssignedIdentity
*/
public data class RoutingIdentityInfoArgs(
public val type: Output>? = null,
public val userAssignedIdentity: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.eventgrid.inputs.RoutingIdentityInfoArgs =
com.pulumi.azurenative.eventgrid.inputs.RoutingIdentityInfoArgs.builder()
.type(
type?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.userAssignedIdentity(userAssignedIdentity?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RoutingIdentityInfoArgs].
*/
@PulumiTagMarker
public class RoutingIdentityInfoArgsBuilder internal constructor() {
private var type: Output>? = null
private var userAssignedIdentity: Output? = null
/**
* @param value
*/
@JvmName("hsvvvubuotjccctt")
public suspend fun type(`value`: Output>) {
this.type = value
}
/**
* @param value
*/
@JvmName("idtvugejwxopchfx")
public suspend fun userAssignedIdentity(`value`: Output) {
this.userAssignedIdentity = value
}
/**
* @param value
*/
@JvmName("wlytxhdorsirsfva")
public suspend fun type(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value
*/
@JvmName("sajenedvxlfdyece")
public fun type(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value
*/
@JvmName("pesucjffxckflthx")
public fun type(`value`: RoutingIdentityType) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value
*/
@JvmName("mkftsfwoassmwprj")
public suspend fun userAssignedIdentity(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.userAssignedIdentity = mapped
}
internal fun build(): RoutingIdentityInfoArgs = RoutingIdentityInfoArgs(
type = type,
userAssignedIdentity = userAssignedIdentity,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy