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

com.pulumi.aws.customerprofiles.kotlin.inputs.DomainRuleBasedMatchingMatchingRuleArgs.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.customerprofiles.kotlin.inputs

import com.pulumi.aws.customerprofiles.inputs.DomainRuleBasedMatchingMatchingRuleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property rules A single rule level of the `match_rules`. Configures how the rule-based matching process should match profiles.
 */
public data class DomainRuleBasedMatchingMatchingRuleArgs(
    public val rules: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.customerprofiles.inputs.DomainRuleBasedMatchingMatchingRuleArgs =
        com.pulumi.aws.customerprofiles.inputs.DomainRuleBasedMatchingMatchingRuleArgs.builder()
            .rules(rules.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    /**
     * @param value A single rule level of the `match_rules`. Configures how the rule-based matching process should match profiles.
     */
    @JvmName("fiuwbianbkvmaapg")
    public suspend fun rules(`value`: Output>) {
        this.rules = value
    }

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

    /**
     * @param values A single rule level of the `match_rules`. Configures how the rule-based matching process should match profiles.
     */
    @JvmName("okxqqtjaowqyqsrr")
    public suspend fun rules(values: List>) {
        this.rules = Output.all(values)
    }

    /**
     * @param value A single rule level of the `match_rules`. Configures how the rule-based matching process should match profiles.
     */
    @JvmName("ekukjebfgyhvjucm")
    public suspend fun rules(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rules = mapped
    }

    /**
     * @param values A single rule level of the `match_rules`. Configures how the rule-based matching process should match profiles.
     */
    @JvmName("anuibpimeyomcggx")
    public suspend fun rules(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rules = mapped
    }

    internal fun build(): DomainRuleBasedMatchingMatchingRuleArgs =
        DomainRuleBasedMatchingMatchingRuleArgs(
            rules = rules ?: throw PulumiNullFieldException("rules"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy