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

com.pulumi.awsnative.licensemanager.kotlin.inputs.LicenseValidityDateFormatArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.licensemanager.kotlin.inputs

import com.pulumi.awsnative.licensemanager.inputs.LicenseValidityDateFormatArgs.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

/**
 *
 * @property begin Validity begin date for the license.
 * @property end Validity begin date for the license.
 */
public data class LicenseValidityDateFormatArgs(
    public val begin: Output,
    public val end: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.licensemanager.inputs.LicenseValidityDateFormatArgs =
        com.pulumi.awsnative.licensemanager.inputs.LicenseValidityDateFormatArgs.builder()
            .begin(begin.applyValue({ args0 -> args0 }))
            .end(end.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LicenseValidityDateFormatArgs].
 */
@PulumiTagMarker
public class LicenseValidityDateFormatArgsBuilder internal constructor() {
    private var begin: Output? = null

    private var end: Output? = null

    /**
     * @param value Validity begin date for the license.
     */
    @JvmName("aiurvvxktgubnbca")
    public suspend fun begin(`value`: Output) {
        this.begin = value
    }

    /**
     * @param value Validity begin date for the license.
     */
    @JvmName("gbmgayknmsrthcqn")
    public suspend fun end(`value`: Output) {
        this.end = value
    }

    /**
     * @param value Validity begin date for the license.
     */
    @JvmName("xsjrvaxxmvgmeuqm")
    public suspend fun begin(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.begin = mapped
    }

    /**
     * @param value Validity begin date for the license.
     */
    @JvmName("jggnvsykmrvtgynf")
    public suspend fun end(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.end = mapped
    }

    internal fun build(): LicenseValidityDateFormatArgs = LicenseValidityDateFormatArgs(
        begin = begin ?: throw PulumiNullFieldException("begin"),
        end = end ?: throw PulumiNullFieldException("end"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy