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

com.pulumi.azurenative.customerinsights.kotlin.inputs.ResourceSetDescriptionArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.customerinsights.kotlin.inputs

import com.pulumi.azurenative.customerinsights.inputs.ResourceSetDescriptionArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 * The resource set description.
 * @property elements The elements included in the set.
 * @property exceptions The elements that are not included in the set, in case elements contains '*' indicating 'all'.
 */
public data class ResourceSetDescriptionArgs(
    public val elements: Output>? = null,
    public val exceptions: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.customerinsights.inputs.ResourceSetDescriptionArgs =
        com.pulumi.azurenative.customerinsights.inputs.ResourceSetDescriptionArgs.builder()
            .elements(elements?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .exceptions(exceptions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [ResourceSetDescriptionArgs].
 */
@PulumiTagMarker
public class ResourceSetDescriptionArgsBuilder internal constructor() {
    private var elements: Output>? = null

    private var exceptions: Output>? = null

    /**
     * @param value The elements included in the set.
     */
    @JvmName("llwqklthxohpxagu")
    public suspend fun elements(`value`: Output>) {
        this.elements = value
    }

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

    /**
     * @param values The elements included in the set.
     */
    @JvmName("eoldxerkdvlujhkr")
    public suspend fun elements(values: List>) {
        this.elements = Output.all(values)
    }

    /**
     * @param value The elements that are not included in the set, in case elements contains '*' indicating 'all'.
     */
    @JvmName("cmhquxvwchjoudel")
    public suspend fun exceptions(`value`: Output>) {
        this.exceptions = value
    }

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

    /**
     * @param values The elements that are not included in the set, in case elements contains '*' indicating 'all'.
     */
    @JvmName("mscgixthoemnuype")
    public suspend fun exceptions(values: List>) {
        this.exceptions = Output.all(values)
    }

    /**
     * @param value The elements included in the set.
     */
    @JvmName("sguwkmjwenwmbiig")
    public suspend fun elements(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.elements = mapped
    }

    /**
     * @param values The elements included in the set.
     */
    @JvmName("cplnsaawsvypcbtj")
    public suspend fun elements(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.elements = mapped
    }

    /**
     * @param value The elements that are not included in the set, in case elements contains '*' indicating 'all'.
     */
    @JvmName("djuvlfyovqebmeot")
    public suspend fun exceptions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.exceptions = mapped
    }

    /**
     * @param values The elements that are not included in the set, in case elements contains '*' indicating 'all'.
     */
    @JvmName("eoxwhggrnkfuyful")
    public suspend fun exceptions(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.exceptions = mapped
    }

    internal fun build(): ResourceSetDescriptionArgs = ResourceSetDescriptionArgs(
        elements = elements,
        exceptions = exceptions,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy