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

com.pulumi.awsnative.location.kotlin.outputs.PlaceIndexDataSourceConfiguration.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.location.kotlin.outputs

import com.pulumi.awsnative.location.kotlin.enums.PlaceIndexIntendedUse
import kotlin.Suppress

/**
 *
 * @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 PlaceIndexDataSourceConfiguration(
    public val intendedUse: PlaceIndexIntendedUse? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.location.outputs.PlaceIndexDataSourceConfiguration): PlaceIndexDataSourceConfiguration = PlaceIndexDataSourceConfiguration(
            intendedUse = javaType.intendedUse().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.location.kotlin.enums.PlaceIndexIntendedUse.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy