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

com.pulumi.awsnative.datazone.kotlin.inputs.DataSourceFormInputArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.datazone.kotlin.inputs

import com.pulumi.awsnative.datazone.inputs.DataSourceFormInputArgs.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

/**
 * The details of a metadata form.
 * @property content The content of the metadata form.
 * @property formName The name of the metadata form.
 * @property typeIdentifier The ID of the metadata form type.
 * @property typeRevision The revision of the metadata form type.
 */
public data class DataSourceFormInputArgs(
    public val content: Output? = null,
    public val formName: Output,
    public val typeIdentifier: Output? = null,
    public val typeRevision: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.datazone.inputs.DataSourceFormInputArgs =
        com.pulumi.awsnative.datazone.inputs.DataSourceFormInputArgs.builder()
            .content(content?.applyValue({ args0 -> args0 }))
            .formName(formName.applyValue({ args0 -> args0 }))
            .typeIdentifier(typeIdentifier?.applyValue({ args0 -> args0 }))
            .typeRevision(typeRevision?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataSourceFormInputArgs].
 */
@PulumiTagMarker
public class DataSourceFormInputArgsBuilder internal constructor() {
    private var content: Output? = null

    private var formName: Output? = null

    private var typeIdentifier: Output? = null

    private var typeRevision: Output? = null

    /**
     * @param value The content of the metadata form.
     */
    @JvmName("eajxgapumisonmjx")
    public suspend fun content(`value`: Output) {
        this.content = value
    }

    /**
     * @param value The name of the metadata form.
     */
    @JvmName("jojglqxiidvonqck")
    public suspend fun formName(`value`: Output) {
        this.formName = value
    }

    /**
     * @param value The ID of the metadata form type.
     */
    @JvmName("wcopgttiavpxvvmn")
    public suspend fun typeIdentifier(`value`: Output) {
        this.typeIdentifier = value
    }

    /**
     * @param value The revision of the metadata form type.
     */
    @JvmName("tdfjxkvncoyfotvt")
    public suspend fun typeRevision(`value`: Output) {
        this.typeRevision = value
    }

    /**
     * @param value The content of the metadata form.
     */
    @JvmName("piyyvuitnndqgixs")
    public suspend fun content(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.content = mapped
    }

    /**
     * @param value The name of the metadata form.
     */
    @JvmName("evunsyfybrgucnig")
    public suspend fun formName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.formName = mapped
    }

    /**
     * @param value The ID of the metadata form type.
     */
    @JvmName("kfkaiupwqblpymsp")
    public suspend fun typeIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.typeIdentifier = mapped
    }

    /**
     * @param value The revision of the metadata form type.
     */
    @JvmName("uhsoliwarxahqybd")
    public suspend fun typeRevision(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.typeRevision = mapped
    }

    internal fun build(): DataSourceFormInputArgs = DataSourceFormInputArgs(
        content = content,
        formName = formName ?: throw PulumiNullFieldException("formName"),
        typeIdentifier = typeIdentifier,
        typeRevision = typeRevision,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy