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

com.pulumi.azurenative.logic.kotlin.inputs.X12SchemaReferenceArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.logic.kotlin.inputs

import com.pulumi.azurenative.logic.inputs.X12SchemaReferenceArgs.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 X12 schema reference.
 * @property messageId The message id.
 * @property schemaName The schema name.
 * @property schemaVersion The schema version.
 * @property senderApplicationId The sender application id.
 */
public data class X12SchemaReferenceArgs(
    public val messageId: Output,
    public val schemaName: Output,
    public val schemaVersion: Output,
    public val senderApplicationId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.logic.inputs.X12SchemaReferenceArgs =
        com.pulumi.azurenative.logic.inputs.X12SchemaReferenceArgs.builder()
            .messageId(messageId.applyValue({ args0 -> args0 }))
            .schemaName(schemaName.applyValue({ args0 -> args0 }))
            .schemaVersion(schemaVersion.applyValue({ args0 -> args0 }))
            .senderApplicationId(senderApplicationId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [X12SchemaReferenceArgs].
 */
@PulumiTagMarker
public class X12SchemaReferenceArgsBuilder internal constructor() {
    private var messageId: Output? = null

    private var schemaName: Output? = null

    private var schemaVersion: Output? = null

    private var senderApplicationId: Output? = null

    /**
     * @param value The message id.
     */
    @JvmName("pgkpqyfvdecdcxsa")
    public suspend fun messageId(`value`: Output) {
        this.messageId = value
    }

    /**
     * @param value The schema name.
     */
    @JvmName("lfehgrmjcsmoejdt")
    public suspend fun schemaName(`value`: Output) {
        this.schemaName = value
    }

    /**
     * @param value The schema version.
     */
    @JvmName("qthlxlulxpsjgacf")
    public suspend fun schemaVersion(`value`: Output) {
        this.schemaVersion = value
    }

    /**
     * @param value The sender application id.
     */
    @JvmName("vdjaciprrdrgteef")
    public suspend fun senderApplicationId(`value`: Output) {
        this.senderApplicationId = value
    }

    /**
     * @param value The message id.
     */
    @JvmName("uycdysafmytllvrt")
    public suspend fun messageId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.messageId = mapped
    }

    /**
     * @param value The schema name.
     */
    @JvmName("kmpiurcfoyvtwbmj")
    public suspend fun schemaName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.schemaName = mapped
    }

    /**
     * @param value The schema version.
     */
    @JvmName("lyfgjpissqekjohw")
    public suspend fun schemaVersion(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.schemaVersion = mapped
    }

    /**
     * @param value The sender application id.
     */
    @JvmName("msvdvdovlphswpuv")
    public suspend fun senderApplicationId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.senderApplicationId = mapped
    }

    internal fun build(): X12SchemaReferenceArgs = X12SchemaReferenceArgs(
        messageId = messageId ?: throw PulumiNullFieldException("messageId"),
        schemaName = schemaName ?: throw PulumiNullFieldException("schemaName"),
        schemaVersion = schemaVersion ?: throw PulumiNullFieldException("schemaVersion"),
        senderApplicationId = senderApplicationId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy