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

com.pulumi.gcp.clouddomains.kotlin.inputs.RegistrationYearlyPriceArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.clouddomains.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.clouddomains.inputs.RegistrationYearlyPriceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property currencyCode The three-letter currency code defined in ISO 4217.
 * @property units The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.
 */
public data class RegistrationYearlyPriceArgs(
    public val currencyCode: Output? = null,
    public val units: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.clouddomains.inputs.RegistrationYearlyPriceArgs =
        com.pulumi.gcp.clouddomains.inputs.RegistrationYearlyPriceArgs.builder()
            .currencyCode(currencyCode?.applyValue({ args0 -> args0 }))
            .units(units?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RegistrationYearlyPriceArgs].
 */
@PulumiTagMarker
public class RegistrationYearlyPriceArgsBuilder internal constructor() {
    private var currencyCode: Output? = null

    private var units: Output? = null

    /**
     * @param value The three-letter currency code defined in ISO 4217.
     */
    @JvmName("whdtrvvixeokuqdb")
    public suspend fun currencyCode(`value`: Output) {
        this.currencyCode = value
    }

    /**
     * @param value The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.
     */
    @JvmName("pmuitwyhdkjxkpql")
    public suspend fun units(`value`: Output) {
        this.units = value
    }

    /**
     * @param value The three-letter currency code defined in ISO 4217.
     */
    @JvmName("sgavlxvkvcwigurg")
    public suspend fun currencyCode(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.currencyCode = mapped
    }

    /**
     * @param value The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.
     */
    @JvmName("lgnwvcgmglrewkma")
    public suspend fun units(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.units = mapped
    }

    internal fun build(): RegistrationYearlyPriceArgs = RegistrationYearlyPriceArgs(
        currencyCode = currencyCode,
        units = units,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy