
com.pulumi.awsnative.sagemaker.kotlin.inputs.DeviceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.DeviceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Edge device you want to create
* @property description Description of the device
* @property deviceName The name of the device
* @property iotThingName AWS Internet of Things (IoT) object name.
*/
public data class DeviceArgs(
public val description: Output? = null,
public val deviceName: Output,
public val iotThingName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.DeviceArgs =
com.pulumi.awsnative.sagemaker.inputs.DeviceArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.deviceName(deviceName.applyValue({ args0 -> args0 }))
.iotThingName(iotThingName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeviceArgs].
*/
@PulumiTagMarker
public class DeviceArgsBuilder internal constructor() {
private var description: Output? = null
private var deviceName: Output? = null
private var iotThingName: Output? = null
/**
* @param value Description of the device
*/
@JvmName("ldswnrpwmcfkhtny")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of the device
*/
@JvmName("yekyykyqhhisgvvb")
public suspend fun deviceName(`value`: Output) {
this.deviceName = value
}
/**
* @param value AWS Internet of Things (IoT) object name.
*/
@JvmName("tapivtpjyhxspdbm")
public suspend fun iotThingName(`value`: Output) {
this.iotThingName = value
}
/**
* @param value Description of the device
*/
@JvmName("ecfyxmoipwishtyx")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value The name of the device
*/
@JvmName("egtiqiahqvcordng")
public suspend fun deviceName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.deviceName = mapped
}
/**
* @param value AWS Internet of Things (IoT) object name.
*/
@JvmName("imsgufhmmowaoift")
public suspend fun iotThingName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.iotThingName = mapped
}
internal fun build(): DeviceArgs = DeviceArgs(
description = description,
deviceName = deviceName ?: throw PulumiNullFieldException("deviceName"),
iotThingName = iotThingName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy