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

com.pulumi.aws.glue.kotlin.inputs.ClassifierXmlClassifierArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.glue.kotlin.inputs

import com.pulumi.aws.glue.inputs.ClassifierXmlClassifierArgs.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 classification An identifier of the data format that the classifier matches.
 * @property rowTag The XML tag designating the element that contains each record in an XML document being parsed. Note that this cannot identify a self-closing element (closed by `/>`). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, `` is okay, but `` is not).
 */
public data class ClassifierXmlClassifierArgs(
    public val classification: Output,
    public val rowTag: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.glue.inputs.ClassifierXmlClassifierArgs =
        com.pulumi.aws.glue.inputs.ClassifierXmlClassifierArgs.builder()
            .classification(classification.applyValue({ args0 -> args0 }))
            .rowTag(rowTag.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClassifierXmlClassifierArgs].
 */
@PulumiTagMarker
public class ClassifierXmlClassifierArgsBuilder internal constructor() {
    private var classification: Output? = null

    private var rowTag: Output? = null

    /**
     * @param value An identifier of the data format that the classifier matches.
     */
    @JvmName("qtcetxnreyqpajxh")
    public suspend fun classification(`value`: Output) {
        this.classification = value
    }

    /**
     * @param value The XML tag designating the element that contains each record in an XML document being parsed. Note that this cannot identify a self-closing element (closed by `/>`). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, `` is okay, but `` is not).
     */
    @JvmName("qtccgebmuagnsqlq")
    public suspend fun rowTag(`value`: Output) {
        this.rowTag = value
    }

    /**
     * @param value An identifier of the data format that the classifier matches.
     */
    @JvmName("qsupylwiwqscmkag")
    public suspend fun classification(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.classification = mapped
    }

    /**
     * @param value The XML tag designating the element that contains each record in an XML document being parsed. Note that this cannot identify a self-closing element (closed by `/>`). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, `` is okay, but `` is not).
     */
    @JvmName("frwhgwwylanuksxy")
    public suspend fun rowTag(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rowTag = mapped
    }

    internal fun build(): ClassifierXmlClassifierArgs = ClassifierXmlClassifierArgs(
        classification = classification ?: throw PulumiNullFieldException("classification"),
        rowTag = rowTag ?: throw PulumiNullFieldException("rowTag"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy