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

com.pulumi.awsnative.customerprofiles.kotlin.inputs.DomainMatchingRuleArgs.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.customerprofiles.kotlin.inputs

import com.pulumi.awsnative.customerprofiles.inputs.DomainMatchingRuleArgs.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

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

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

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

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

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

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

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

    internal fun build(): DomainMatchingRuleArgs = DomainMatchingRuleArgs(
        rule = rule ?: throw PulumiNullFieldException("rule"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy