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

com.pulumi.awsnative.networkmanager.kotlin.inputs.DeviceLocationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.networkmanager.kotlin.inputs

import com.pulumi.awsnative.networkmanager.inputs.DeviceLocationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The site location.
 * @property address The physical address.
 * @property latitude The latitude.
 * @property longitude The longitude.
 */
public data class DeviceLocationArgs(
    public val address: Output? = null,
    public val latitude: Output? = null,
    public val longitude: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.networkmanager.inputs.DeviceLocationArgs =
        com.pulumi.awsnative.networkmanager.inputs.DeviceLocationArgs.builder()
            .address(address?.applyValue({ args0 -> args0 }))
            .latitude(latitude?.applyValue({ args0 -> args0 }))
            .longitude(longitude?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DeviceLocationArgs].
 */
@PulumiTagMarker
public class DeviceLocationArgsBuilder internal constructor() {
    private var address: Output? = null

    private var latitude: Output? = null

    private var longitude: Output? = null

    /**
     * @param value The physical address.
     */
    @JvmName("ivacdvqtrdbrymxs")
    public suspend fun address(`value`: Output) {
        this.address = value
    }

    /**
     * @param value The latitude.
     */
    @JvmName("sdpwuygxprhfcyjh")
    public suspend fun latitude(`value`: Output) {
        this.latitude = value
    }

    /**
     * @param value The longitude.
     */
    @JvmName("ugidokrgbeleapxa")
    public suspend fun longitude(`value`: Output) {
        this.longitude = value
    }

    /**
     * @param value The physical address.
     */
    @JvmName("hgoeruavipgdxdsb")
    public suspend fun address(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.address = mapped
    }

    /**
     * @param value The latitude.
     */
    @JvmName("texjlekweuglmxsq")
    public suspend fun latitude(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.latitude = mapped
    }

    /**
     * @param value The longitude.
     */
    @JvmName("wtukaxaobicdokgr")
    public suspend fun longitude(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.longitude = mapped
    }

    internal fun build(): DeviceLocationArgs = DeviceLocationArgs(
        address = address,
        latitude = latitude,
        longitude = longitude,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy