com.pulumi.awsnative.deadline.kotlin.MeteredProductArgs.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.deadline.kotlin
import com.pulumi.awsnative.deadline.MeteredProductArgs.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
/**
* Definition of AWS::Deadline::MeteredProduct Resource Type
* @property licenseEndpointId The Amazon EC2 identifier of the license endpoint.
* @property productId The product ID.
*/
public data class MeteredProductArgs(
public val licenseEndpointId: Output? = null,
public val productId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.deadline.MeteredProductArgs =
com.pulumi.awsnative.deadline.MeteredProductArgs.builder()
.licenseEndpointId(licenseEndpointId?.applyValue({ args0 -> args0 }))
.productId(productId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MeteredProductArgs].
*/
@PulumiTagMarker
public class MeteredProductArgsBuilder internal constructor() {
private var licenseEndpointId: Output? = null
private var productId: Output? = null
/**
* @param value The Amazon EC2 identifier of the license endpoint.
*/
@JvmName("jwtfxwcbssaclycr")
public suspend fun licenseEndpointId(`value`: Output) {
this.licenseEndpointId = value
}
/**
* @param value The product ID.
*/
@JvmName("ahadfbhccaiulhmo")
public suspend fun productId(`value`: Output) {
this.productId = value
}
/**
* @param value The Amazon EC2 identifier of the license endpoint.
*/
@JvmName("vwgyskwtgdihntrq")
public suspend fun licenseEndpointId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.licenseEndpointId = mapped
}
/**
* @param value The product ID.
*/
@JvmName("mlpihlpbwqwjspvv")
public suspend fun productId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.productId = mapped
}
internal fun build(): MeteredProductArgs = MeteredProductArgs(
licenseEndpointId = licenseEndpointId,
productId = productId,
)
}