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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateGeospatialWindowOptionsArgs.kt Maven / Gradle / Ivy

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateGeospatialWindowOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateMapZoomMode
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 TemplateGeospatialWindowOptionsArgs(
    public val bounds: Output? = null,
    public val mapZoomMode: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateGeospatialWindowOptionsArgs = com.pulumi.awsnative.quicksight.inputs.TemplateGeospatialWindowOptionsArgs.builder()
        .bounds(bounds?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .mapZoomMode(mapZoomMode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [TemplateGeospatialWindowOptionsArgs].
 */
@PulumiTagMarker
public class TemplateGeospatialWindowOptionsArgsBuilder 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("wlhibodgesjikehe")
    public suspend fun bounds(`value`: Output) {
        this.bounds = value
    }

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

    /**
     * @param value The bounds options (north, south, west, east) of the geospatial window options.
     */
    @JvmName("eyqknaeknaswigqd")
    public suspend fun bounds(`value`: TemplateGeospatialCoordinateBoundsArgs?) {
        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("jxkvlwwptpwigpcy")
    public suspend fun bounds(argument: suspend TemplateGeospatialCoordinateBoundsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateGeospatialCoordinateBoundsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.bounds = mapped
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy