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

com.pulumi.awsnative.fms.kotlin.inputs.PolicyIeMapArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.fms.kotlin.inputs

import com.pulumi.awsnative.fms.inputs.PolicyIeMapArgs.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

/**
 * An FMS includeMap or excludeMap.
 * @property account The account list for the map.
 * @property orgunit The organizational unit list for the map.
 */
public data class PolicyIeMapArgs(
    public val account: Output>? = null,
    public val orgunit: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.fms.inputs.PolicyIeMapArgs =
        com.pulumi.awsnative.fms.inputs.PolicyIeMapArgs.builder()
            .account(account?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .orgunit(orgunit?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var orgunit: Output>? = null

    /**
     * @param value The account list for the map.
     */
    @JvmName("mkaxihwblhnifjso")
    public suspend fun account(`value`: Output>) {
        this.account = value
    }

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

    /**
     * @param values The account list for the map.
     */
    @JvmName("rgpdysiimcpvieff")
    public suspend fun account(values: List>) {
        this.account = Output.all(values)
    }

    /**
     * @param value The organizational unit list for the map.
     */
    @JvmName("vkmdubvybvchnbkr")
    public suspend fun orgunit(`value`: Output>) {
        this.orgunit = value
    }

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

    /**
     * @param values The organizational unit list for the map.
     */
    @JvmName("xbhwnwnknirvksbk")
    public suspend fun orgunit(values: List>) {
        this.orgunit = Output.all(values)
    }

    /**
     * @param value The account list for the map.
     */
    @JvmName("nyedwbylwsfbubns")
    public suspend fun account(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.account = mapped
    }

    /**
     * @param values The account list for the map.
     */
    @JvmName("okpnawjrppqpegxi")
    public suspend fun account(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.account = mapped
    }

    /**
     * @param value The organizational unit list for the map.
     */
    @JvmName("mbhlcqoxttpvwomi")
    public suspend fun orgunit(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.orgunit = mapped
    }

    /**
     * @param values The organizational unit list for the map.
     */
    @JvmName("akpkhyiswatoaoyk")
    public suspend fun orgunit(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.orgunit = mapped
    }

    internal fun build(): PolicyIeMapArgs = PolicyIeMapArgs(
        account = account,
        orgunit = orgunit,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy