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

com.pulumi.azurenative.network.kotlin.inputs.DevicePropertiesArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.network.kotlin.inputs

import com.pulumi.azurenative.network.inputs.DevicePropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * List of properties of the device.
 * @property deviceModel Model of the device.
 * @property deviceVendor Name of the device Vendor.
 * @property linkSpeedInMbps Link speed.
 */
public data class DevicePropertiesArgs(
    public val deviceModel: Output? = null,
    public val deviceVendor: Output? = null,
    public val linkSpeedInMbps: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.network.inputs.DevicePropertiesArgs =
        com.pulumi.azurenative.network.inputs.DevicePropertiesArgs.builder()
            .deviceModel(deviceModel?.applyValue({ args0 -> args0 }))
            .deviceVendor(deviceVendor?.applyValue({ args0 -> args0 }))
            .linkSpeedInMbps(linkSpeedInMbps?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DevicePropertiesArgs].
 */
@PulumiTagMarker
public class DevicePropertiesArgsBuilder internal constructor() {
    private var deviceModel: Output? = null

    private var deviceVendor: Output? = null

    private var linkSpeedInMbps: Output? = null

    /**
     * @param value Model of the device.
     */
    @JvmName("iljksvtsdasnefjj")
    public suspend fun deviceModel(`value`: Output) {
        this.deviceModel = value
    }

    /**
     * @param value Name of the device Vendor.
     */
    @JvmName("akwharekbwifufjo")
    public suspend fun deviceVendor(`value`: Output) {
        this.deviceVendor = value
    }

    /**
     * @param value Link speed.
     */
    @JvmName("tevutjhipdbustch")
    public suspend fun linkSpeedInMbps(`value`: Output) {
        this.linkSpeedInMbps = value
    }

    /**
     * @param value Model of the device.
     */
    @JvmName("hwjjdcevyfdiqqfb")
    public suspend fun deviceModel(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deviceModel = mapped
    }

    /**
     * @param value Name of the device Vendor.
     */
    @JvmName("enbgsneorwgslase")
    public suspend fun deviceVendor(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deviceVendor = mapped
    }

    /**
     * @param value Link speed.
     */
    @JvmName("ndfjtyabromwplms")
    public suspend fun linkSpeedInMbps(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.linkSpeedInMbps = mapped
    }

    internal fun build(): DevicePropertiesArgs = DevicePropertiesArgs(
        deviceModel = deviceModel,
        deviceVendor = deviceVendor,
        linkSpeedInMbps = linkSpeedInMbps,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy