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

com.pulumi.awsnative.deadline.kotlin.MeteredProductArgs.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: 1.11.0.0
Show newest version
@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,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy