com.pulumi.googlenative.retail.v2.kotlin.inputs.GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.retail.v2.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.retail.v2.inputs.GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs.builder
import com.pulumi.googlenative.retail.v2.kotlin.enums.GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The specifications of dynamically generated facets.
* @property mode Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.
*/
public data class GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs(
public val mode: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.retail.v2.inputs.GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs =
com.pulumi.googlenative.retail.v2.inputs.GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs.builder()
.mode(mode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs].
*/
@PulumiTagMarker
public class GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgsBuilder internal constructor() {
private var mode: Output? = null
/**
* @param value Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.
*/
@JvmName("jgfnbsfxwgsvddhy")
public suspend fun mode(`value`: Output) {
this.mode = value
}
/**
* @param value Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.
*/
@JvmName("ojnywpxnjsgnsyls")
public suspend fun mode(`value`: GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mode = mapped
}
internal fun build(): GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs =
GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs(
mode = mode,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy