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

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

package com.pulumi.awsnative.backup.kotlin.inputs

import com.pulumi.awsnative.backup.inputs.RestoreTestingSelectionProtectedResourceConditionsArgs.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 Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
 * @property stringNotEquals Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
 */
public data class RestoreTestingSelectionProtectedResourceConditionsArgs(
    public val stringEquals: Output>? = null,
    public val stringNotEquals: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.backup.inputs.RestoreTestingSelectionProtectedResourceConditionsArgs =
        com.pulumi.awsnative.backup.inputs.RestoreTestingSelectionProtectedResourceConditionsArgs.builder()
            .stringEquals(
                stringEquals?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .stringNotEquals(
                stringNotEquals?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    private var stringNotEquals: Output>? = null

    /**
     * @param value Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
     */
    @JvmName("wumokqelrwtgbffc")
    public suspend fun stringEquals(`value`: Output>) {
        this.stringEquals = value
    }

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

    /**
     * @param values Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
     */
    @JvmName("xivloopnpftikfej")
    public suspend fun stringEquals(values: List>) {
        this.stringEquals = Output.all(values)
    }

    /**
     * @param value Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
     */
    @JvmName("kuwivjdjawsyvsot")
    public suspend fun stringNotEquals(`value`: Output>) {
        this.stringNotEquals = value
    }

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

    /**
     * @param values Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
     */
    @JvmName("uxkpwbykjwoywmyt")
    public suspend fun stringNotEquals(values: List>) {
        this.stringNotEquals = Output.all(values)
    }

    /**
     * @param value Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
     */
    @JvmName("dvkloauxgjjmmgwb")
    public suspend fun stringEquals(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.stringEquals = mapped
    }

    /**
     * @param argument Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
     */
    @JvmName("necnwaadawoxrxti")
    public suspend fun stringEquals(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            RestoreTestingSelectionKeyValueArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.stringEquals = mapped
    }

    /**
     * @param argument Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
     */
    @JvmName("aonfekxhsalurfry")
    public suspend fun stringEquals(vararg argument: suspend RestoreTestingSelectionKeyValueArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            RestoreTestingSelectionKeyValueArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.stringEquals = mapped
    }

    /**
     * @param argument Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
     */
    @JvmName("idydawsnpueirotd")
    public suspend fun stringEquals(argument: suspend RestoreTestingSelectionKeyValueArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            RestoreTestingSelectionKeyValueArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.stringEquals = mapped
    }

    /**
     * @param values Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
     */
    @JvmName("phenewphibmwklyu")
    public suspend fun stringEquals(vararg values: RestoreTestingSelectionKeyValueArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.stringEquals = mapped
    }

    /**
     * @param value Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
     */
    @JvmName("kktipdtmkusqxeqt")
    public suspend fun stringNotEquals(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.stringNotEquals = mapped
    }

    /**
     * @param argument Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
     */
    @JvmName("jnvuwpejdyirfmfm")
    public suspend fun stringNotEquals(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            RestoreTestingSelectionKeyValueArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.stringNotEquals = mapped
    }

    /**
     * @param argument Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
     */
    @JvmName("yeiiviajsuqupern")
    public suspend fun stringNotEquals(vararg argument: suspend RestoreTestingSelectionKeyValueArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            RestoreTestingSelectionKeyValueArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.stringNotEquals = mapped
    }

    /**
     * @param argument Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
     */
    @JvmName("urayiakmvjgyjdne")
    public suspend fun stringNotEquals(argument: suspend RestoreTestingSelectionKeyValueArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            RestoreTestingSelectionKeyValueArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.stringNotEquals = mapped
    }

    /**
     * @param values Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
     */
    @JvmName("xnuwfiqiqiyvrdhk")
    public suspend fun stringNotEquals(vararg values: RestoreTestingSelectionKeyValueArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.stringNotEquals = mapped
    }

    internal fun build(): RestoreTestingSelectionProtectedResourceConditionsArgs =
        RestoreTestingSelectionProtectedResourceConditionsArgs(
            stringEquals = stringEquals,
            stringNotEquals = stringNotEquals,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy