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

com.pulumi.azurenative.openenergyplatform.kotlin.inputs.EnergyServicePropertiesArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.openenergyplatform.kotlin.inputs

import com.pulumi.azurenative.openenergyplatform.inputs.EnergyServicePropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property authAppId
 * @property dataPartitionNames
 */
public data class EnergyServicePropertiesArgs(
    public val authAppId: Output? = null,
    public val dataPartitionNames: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.openenergyplatform.inputs.EnergyServicePropertiesArgs =
        com.pulumi.azurenative.openenergyplatform.inputs.EnergyServicePropertiesArgs.builder()
            .authAppId(authAppId?.applyValue({ args0 -> args0 }))
            .dataPartitionNames(
                dataPartitionNames?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

/**
 * Builder for [EnergyServicePropertiesArgs].
 */
@PulumiTagMarker
public class EnergyServicePropertiesArgsBuilder internal constructor() {
    private var authAppId: Output? = null

    private var dataPartitionNames: Output>? = null

    /**
     * @param value
     */
    @JvmName("flytuhofpygaepcc")
    public suspend fun authAppId(`value`: Output) {
        this.authAppId = value
    }

    /**
     * @param value
     */
    @JvmName("uefmtuhfcgwjxmgw")
    public suspend fun dataPartitionNames(`value`: Output>) {
        this.dataPartitionNames = value
    }

    @JvmName("lntxviortdkhwpmx")
    public suspend fun dataPartitionNames(vararg values: Output) {
        this.dataPartitionNames = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("efgduapgydaaetwl")
    public suspend fun dataPartitionNames(values: List>) {
        this.dataPartitionNames = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("hgdtvsqdgdxjkkrg")
    public suspend fun authAppId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.authAppId = mapped
    }

    /**
     * @param value
     */
    @JvmName("xiqlpourvoveslut")
    public suspend fun dataPartitionNames(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataPartitionNames = mapped
    }

    /**
     * @param argument
     */
    @JvmName("jrkvdnefqtehpcbj")
    public suspend fun dataPartitionNames(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DataPartitionNamesArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.dataPartitionNames = mapped
    }

    /**
     * @param argument
     */
    @JvmName("iugdgenasgwghody")
    public suspend fun dataPartitionNames(vararg argument: suspend DataPartitionNamesArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DataPartitionNamesArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.dataPartitionNames = mapped
    }

    /**
     * @param argument
     */
    @JvmName("dguiqwyuyclvordq")
    public suspend fun dataPartitionNames(argument: suspend DataPartitionNamesArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(DataPartitionNamesArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.dataPartitionNames = mapped
    }

    /**
     * @param values
     */
    @JvmName("olxqvmtxudkjqijd")
    public suspend fun dataPartitionNames(vararg values: DataPartitionNamesArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataPartitionNames = mapped
    }

    internal fun build(): EnergyServicePropertiesArgs = EnergyServicePropertiesArgs(
        authAppId = authAppId,
        dataPartitionNames = dataPartitionNames,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy