All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.containerservice.kotlin.inputs.UserAssignedIdentityArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.containerservice.kotlin.inputs

import com.pulumi.azurenative.containerservice.inputs.UserAssignedIdentityArgs.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

/**
 * Details about a user assigned identity.
 * @property clientId The client ID of the user assigned identity.
 * @property objectId The object ID of the user assigned identity.
 * @property resourceId The resource ID of the user assigned identity.
 */
public data class UserAssignedIdentityArgs(
    public val clientId: Output? = null,
    public val objectId: Output? = null,
    public val resourceId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.containerservice.inputs.UserAssignedIdentityArgs =
        com.pulumi.azurenative.containerservice.inputs.UserAssignedIdentityArgs.builder()
            .clientId(clientId?.applyValue({ args0 -> args0 }))
            .objectId(objectId?.applyValue({ args0 -> args0 }))
            .resourceId(resourceId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [UserAssignedIdentityArgs].
 */
@PulumiTagMarker
public class UserAssignedIdentityArgsBuilder internal constructor() {
    private var clientId: Output? = null

    private var objectId: Output? = null

    private var resourceId: Output? = null

    /**
     * @param value The client ID of the user assigned identity.
     */
    @JvmName("setxutxjwbbfpubu")
    public suspend fun clientId(`value`: Output) {
        this.clientId = value
    }

    /**
     * @param value The object ID of the user assigned identity.
     */
    @JvmName("voriyfkoyhawlpaw")
    public suspend fun objectId(`value`: Output) {
        this.objectId = value
    }

    /**
     * @param value The resource ID of the user assigned identity.
     */
    @JvmName("ornrypxlqfesxqcb")
    public suspend fun resourceId(`value`: Output) {
        this.resourceId = value
    }

    /**
     * @param value The client ID of the user assigned identity.
     */
    @JvmName("xfyqwcwbvobbilvq")
    public suspend fun clientId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientId = mapped
    }

    /**
     * @param value The object ID of the user assigned identity.
     */
    @JvmName("toqamadyejkekbsc")
    public suspend fun objectId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.objectId = mapped
    }

    /**
     * @param value The resource ID of the user assigned identity.
     */
    @JvmName("betoqqampdnhnneb")
    public suspend fun resourceId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceId = mapped
    }

    internal fun build(): UserAssignedIdentityArgs = UserAssignedIdentityArgs(
        clientId = clientId,
        objectId = objectId,
        resourceId = resourceId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy