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

com.pulumi.googlenative.retail.v2beta.kotlin.inputs.GoogleCloudRetailV2betaConditionQueryTermArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.googlenative.retail.v2beta.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.retail.v2beta.inputs.GoogleCloudRetailV2betaConditionQueryTermArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Query terms that we want to match on.
 * @property fullMatch Whether this is supposed to be a full or partial match.
 * @property value The value of the term to match on. Value cannot be empty. Value can have at most 3 terms if specified as a partial match. Each space separated string is considered as one term. For example, "a b c" is 3 terms and allowed, but " a b c d" is 4 terms and not allowed for a partial match.
 */
public data class GoogleCloudRetailV2betaConditionQueryTermArgs(
    public val fullMatch: Output? = null,
    public val `value`: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.retail.v2beta.inputs.GoogleCloudRetailV2betaConditionQueryTermArgs =
        com.pulumi.googlenative.retail.v2beta.inputs.GoogleCloudRetailV2betaConditionQueryTermArgs.builder()
            .fullMatch(fullMatch?.applyValue({ args0 -> args0 }))
            .`value`(`value`?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [GoogleCloudRetailV2betaConditionQueryTermArgs].
 */
@PulumiTagMarker
public class GoogleCloudRetailV2betaConditionQueryTermArgsBuilder internal constructor() {
    private var fullMatch: Output? = null

    private var `value`: Output? = null

    /**
     * @param value Whether this is supposed to be a full or partial match.
     */
    @JvmName("mupcfrmsqsjluyvc")
    public suspend fun fullMatch(`value`: Output) {
        this.fullMatch = value
    }

    /**
     * @param value The value of the term to match on. Value cannot be empty. Value can have at most 3 terms if specified as a partial match. Each space separated string is considered as one term. For example, "a b c" is 3 terms and allowed, but " a b c d" is 4 terms and not allowed for a partial match.
     */
    @JvmName("isdjlptvsxcphxsm")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value Whether this is supposed to be a full or partial match.
     */
    @JvmName("cociblriktrocgiq")
    public suspend fun fullMatch(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fullMatch = mapped
    }

    /**
     * @param value The value of the term to match on. Value cannot be empty. Value can have at most 3 terms if specified as a partial match. Each space separated string is considered as one term. For example, "a b c" is 3 terms and allowed, but " a b c d" is 4 terms and not allowed for a partial match.
     */
    @JvmName("lfpvxcajxjpiveey")
    public suspend fun `value`(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    internal fun build(): GoogleCloudRetailV2betaConditionQueryTermArgs =
        GoogleCloudRetailV2betaConditionQueryTermArgs(
            fullMatch = fullMatch,
            `value` = `value`,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy