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

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardGeospatialWindowOptionsArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.DashboardGeospatialWindowOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardMapZoomMode
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property bounds The bounds options (north, south, west, east) of the geospatial window options.
 * @property mapZoomMode The map zoom modes (manual, auto) of the geospatial window options.
 */
public data class DashboardGeospatialWindowOptionsArgs(
    public val bounds: Output? = null,
    public val mapZoomMode: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardGeospatialWindowOptionsArgs = com.pulumi.awsnative.quicksight.inputs.DashboardGeospatialWindowOptionsArgs.builder()
        .bounds(bounds?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .mapZoomMode(mapZoomMode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DashboardGeospatialWindowOptionsArgs].
 */
@PulumiTagMarker
public class DashboardGeospatialWindowOptionsArgsBuilder internal constructor() {
    private var bounds: Output? = null

    private var mapZoomMode: Output? = null

    /**
     * @param value The bounds options (north, south, west, east) of the geospatial window options.
     */
    @JvmName("dgkivfilhwvfbtak")
    public suspend fun bounds(`value`: Output) {
        this.bounds = value
    }

    /**
     * @param value The map zoom modes (manual, auto) of the geospatial window options.
     */
    @JvmName("mccckialkxhijnbo")
    public suspend fun mapZoomMode(`value`: Output) {
        this.mapZoomMode = value
    }

    /**
     * @param value The bounds options (north, south, west, east) of the geospatial window options.
     */
    @JvmName("qkxtqsbosvvcaluq")
    public suspend fun bounds(`value`: DashboardGeospatialCoordinateBoundsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bounds = mapped
    }

    /**
     * @param argument The bounds options (north, south, west, east) of the geospatial window options.
     */
    @JvmName("xiutghnyvxsiyrpc")
    public suspend fun bounds(argument: suspend DashboardGeospatialCoordinateBoundsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardGeospatialCoordinateBoundsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.bounds = mapped
    }

    /**
     * @param value The map zoom modes (manual, auto) of the geospatial window options.
     */
    @JvmName("sktroiipbbfdjqqr")
    public suspend fun mapZoomMode(`value`: DashboardMapZoomMode?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mapZoomMode = mapped
    }

    internal fun build(): DashboardGeospatialWindowOptionsArgs = DashboardGeospatialWindowOptionsArgs(
        bounds = bounds,
        mapZoomMode = mapZoomMode,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy