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

com.pulumi.aws.backup.kotlin.inputs.SelectionConditionArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.backup.kotlin.inputs

import com.pulumi.aws.backup.inputs.SelectionConditionArgs.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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property stringEquals
 * @property stringLikes
 * @property stringNotEquals
 * @property stringNotLikes
 */
public data class SelectionConditionArgs(
    public val stringEquals: Output>? = null,
    public val stringLikes: Output>? = null,
    public val stringNotEquals: Output>? = null,
    public val stringNotLikes: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.backup.inputs.SelectionConditionArgs =
        com.pulumi.aws.backup.inputs.SelectionConditionArgs.builder()
            .stringEquals(
                stringEquals?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .stringLikes(
                stringLikes?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .stringNotEquals(
                stringNotEquals?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .stringNotLikes(
                stringNotLikes?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    private var stringLikes: Output>? = null

    private var stringNotEquals: Output>? = null

    private var stringNotLikes: Output>? = null

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    internal fun build(): SelectionConditionArgs = SelectionConditionArgs(
        stringEquals = stringEquals,
        stringLikes = stringLikes,
        stringNotEquals = stringNotEquals,
        stringNotLikes = stringNotLikes,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy