
com.pulumi.awsnative.location.kotlin.inputs.PlaceIndexDataSourceConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.location.kotlin.inputs
import com.pulumi.awsnative.location.inputs.PlaceIndexDataSourceConfigurationArgs.builder
import com.pulumi.awsnative.location.kotlin.enums.PlaceIndexIntendedUse
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property intendedUse Specifies how the results of an operation will be stored by the caller.
* Valid values include:
* - `SingleUse` specifies that the results won't be stored.
* - `Storage` specifies that the result can be cached or stored in a database.
* Default value: `SingleUse`
*/
public data class PlaceIndexDataSourceConfigurationArgs(
public val intendedUse: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.location.inputs.PlaceIndexDataSourceConfigurationArgs = com.pulumi.awsnative.location.inputs.PlaceIndexDataSourceConfigurationArgs.builder()
.intendedUse(intendedUse?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [PlaceIndexDataSourceConfigurationArgs].
*/
@PulumiTagMarker
public class PlaceIndexDataSourceConfigurationArgsBuilder internal constructor() {
private var intendedUse: Output? = null
/**
* @param value Specifies how the results of an operation will be stored by the caller.
* Valid values include:
* - `SingleUse` specifies that the results won't be stored.
* - `Storage` specifies that the result can be cached or stored in a database.
* Default value: `SingleUse`
*/
@JvmName("ywswwfhrdxhfcfyc")
public suspend fun intendedUse(`value`: Output) {
this.intendedUse = value
}
/**
* @param value Specifies how the results of an operation will be stored by the caller.
* Valid values include:
* - `SingleUse` specifies that the results won't be stored.
* - `Storage` specifies that the result can be cached or stored in a database.
* Default value: `SingleUse`
*/
@JvmName("myqhlwvtqdgvjhgb")
public suspend fun intendedUse(`value`: PlaceIndexIntendedUse?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.intendedUse = mapped
}
internal fun build(): PlaceIndexDataSourceConfigurationArgs =
PlaceIndexDataSourceConfigurationArgs(
intendedUse = intendedUse,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy