![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.networkmanager.kotlin.DeviceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.networkmanager.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.networkmanager.DeviceArgs.builder
import com.pulumi.awsnative.networkmanager.kotlin.inputs.DeviceAwsLocationArgs
import com.pulumi.awsnative.networkmanager.kotlin.inputs.DeviceAwsLocationArgsBuilder
import com.pulumi.awsnative.networkmanager.kotlin.inputs.DeviceLocationArgs
import com.pulumi.awsnative.networkmanager.kotlin.inputs.DeviceLocationArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The AWS::NetworkManager::Device type describes a device.
* @property awsLocation The Amazon Web Services location of the device, if applicable.
* @property description The description of the device.
* @property globalNetworkId The ID of the global network.
* @property location The site location.
* @property model The device model
* @property serialNumber The device serial number.
* @property siteId The site ID.
* @property tags The tags for the device.
* @property type The device type.
* @property vendor The device vendor.
*/
public data class DeviceArgs(
public val awsLocation: Output? = null,
public val description: Output? = null,
public val globalNetworkId: Output? = null,
public val location: Output? = null,
public val model: Output? = null,
public val serialNumber: Output? = null,
public val siteId: Output? = null,
public val tags: Output>? = null,
public val type: Output? = null,
public val vendor: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.networkmanager.DeviceArgs =
com.pulumi.awsnative.networkmanager.DeviceArgs.builder()
.awsLocation(awsLocation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.description(description?.applyValue({ args0 -> args0 }))
.globalNetworkId(globalNetworkId?.applyValue({ args0 -> args0 }))
.location(location?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.model(model?.applyValue({ args0 -> args0 }))
.serialNumber(serialNumber?.applyValue({ args0 -> args0 }))
.siteId(siteId?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.type(type?.applyValue({ args0 -> args0 }))
.vendor(vendor?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeviceArgs].
*/
@PulumiTagMarker
public class DeviceArgsBuilder internal constructor() {
private var awsLocation: Output? = null
private var description: Output? = null
private var globalNetworkId: Output? = null
private var location: Output? = null
private var model: Output? = null
private var serialNumber: Output? = null
private var siteId: Output? = null
private var tags: Output>? = null
private var type: Output? = null
private var vendor: Output? = null
/**
* @param value The Amazon Web Services location of the device, if applicable.
*/
@JvmName("ppjbgjpiuebgikra")
public suspend fun awsLocation(`value`: Output) {
this.awsLocation = value
}
/**
* @param value The description of the device.
*/
@JvmName("amadiewsajjabanh")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The ID of the global network.
*/
@JvmName("wltxrnilqgkhsplq")
public suspend fun globalNetworkId(`value`: Output) {
this.globalNetworkId = value
}
/**
* @param value The site location.
*/
@JvmName("txtyfnfgascgeajf")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value The device model
*/
@JvmName("qsuxulngmexvpmxk")
public suspend fun model(`value`: Output) {
this.model = value
}
/**
* @param value The device serial number.
*/
@JvmName("lkgxtqqfmnyexngs")
public suspend fun serialNumber(`value`: Output) {
this.serialNumber = value
}
/**
* @param value The site ID.
*/
@JvmName("hvmosukiknxlwfun")
public suspend fun siteId(`value`: Output) {
this.siteId = value
}
/**
* @param value The tags for the device.
*/
@JvmName("ydwvgxjiptkvvrpy")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("yslragrjqpvtvlrt")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values The tags for the device.
*/
@JvmName("ekgvwthtfayqfkjt")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy