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

com.pulumi.azurenative.labservices.kotlin.inputs.GetGlobalUserOperationBatchStatusPlainArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.labservices.kotlin.inputs

import com.pulumi.azurenative.labservices.inputs.GetGlobalUserOperationBatchStatusPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property urls The operation url of long running operation
 * @property userName The name of the user.
 */
public data class GetGlobalUserOperationBatchStatusPlainArgs(
    public val urls: List,
    public val userName: String,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.labservices.inputs.GetGlobalUserOperationBatchStatusPlainArgs =
        com.pulumi.azurenative.labservices.inputs.GetGlobalUserOperationBatchStatusPlainArgs.builder()
            .urls(urls.let({ args0 -> args0.map({ args0 -> args0 }) }))
            .userName(userName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetGlobalUserOperationBatchStatusPlainArgs].
 */
@PulumiTagMarker
public class GetGlobalUserOperationBatchStatusPlainArgsBuilder internal constructor() {
    private var urls: List? = null

    private var userName: String? = null

    /**
     * @param value The operation url of long running operation
     */
    @JvmName("eyxiosoekobsnlmb")
    public suspend fun urls(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.urls = mapped
    }

    /**
     * @param values The operation url of long running operation
     */
    @JvmName("adfvqwgbregurcdx")
    public suspend fun urls(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.urls = mapped
    }

    /**
     * @param value The name of the user.
     */
    @JvmName("dyjnfhdmeymfsdnp")
    public suspend fun userName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.userName = mapped
    }

    internal fun build(): GetGlobalUserOperationBatchStatusPlainArgs =
        GetGlobalUserOperationBatchStatusPlainArgs(
            urls = urls ?: throw PulumiNullFieldException("urls"),
            userName = userName ?: throw PulumiNullFieldException("userName"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy