![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.b2bi.kotlin.TransformerArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.b2bi.kotlin
import com.pulumi.awsnative.b2bi.TransformerArgs.builder
import com.pulumi.awsnative.b2bi.kotlin.enums.TransformerFileFormat
import com.pulumi.awsnative.b2bi.kotlin.enums.TransformerStatus
import com.pulumi.awsnative.b2bi.kotlin.inputs.TransformerEdiTypePropertiesArgs
import com.pulumi.awsnative.b2bi.kotlin.inputs.TransformerEdiTypePropertiesArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of AWS::B2BI::Transformer Resource Type
* @property ediType Returns the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
* @property fileFormat Returns that the currently supported file formats for EDI transformations are `JSON` and `XML` .
* @property mappingTemplate Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
* @property name Returns the descriptive name for the transformer.
* @property sampleDocument Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
* @property status Returns the state of the newly created transformer. The transformer can be either `active` or `inactive` . For the transformer to be used in a capability, its status must `active` .
* @property tags A key-value pair for a specific transformer. Tags are metadata that you can use to search for and group capabilities for various purposes.
*/
public data class TransformerArgs(
public val ediType: Output? = null,
public val fileFormat: Output? = null,
public val mappingTemplate: Output? = null,
public val name: Output? = null,
public val sampleDocument: Output? = null,
public val status: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.b2bi.TransformerArgs =
com.pulumi.awsnative.b2bi.TransformerArgs.builder()
.ediType(ediType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fileFormat(fileFormat?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.mappingTemplate(mappingTemplate?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.sampleDocument(sampleDocument?.applyValue({ args0 -> args0 }))
.status(status?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [TransformerArgs].
*/
@PulumiTagMarker
public class TransformerArgsBuilder internal constructor() {
private var ediType: Output? = null
private var fileFormat: Output? = null
private var mappingTemplate: Output? = null
private var name: Output? = null
private var sampleDocument: Output? = null
private var status: Output? = null
private var tags: Output>? = null
/**
* @param value Returns the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
*/
@JvmName("dohnytbvhxdvctni")
public suspend fun ediType(`value`: Output) {
this.ediType = value
}
/**
* @param value Returns that the currently supported file formats for EDI transformations are `JSON` and `XML` .
*/
@JvmName("gbagwnkqsefshkpl")
public suspend fun fileFormat(`value`: Output) {
this.fileFormat = value
}
/**
* @param value Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
*/
@JvmName("hjqcuqvhlfanwdmj")
public suspend fun mappingTemplate(`value`: Output) {
this.mappingTemplate = value
}
/**
* @param value Returns the descriptive name for the transformer.
*/
@JvmName("ksgfdibrqtcvftfs")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
*/
@JvmName("ndqgogpcwfeicvoi")
public suspend fun sampleDocument(`value`: Output) {
this.sampleDocument = value
}
/**
* @param value Returns the state of the newly created transformer. The transformer can be either `active` or `inactive` . For the transformer to be used in a capability, its status must `active` .
*/
@JvmName("dwgeeccrofpstrcr")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value A key-value pair for a specific transformer. Tags are metadata that you can use to search for and group capabilities for various purposes.
*/
@JvmName("xwedburrwkdhuweh")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("etetgcyuirhoolwc")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values A key-value pair for a specific transformer. Tags are metadata that you can use to search for and group capabilities for various purposes.
*/
@JvmName("cmgjyhffyxvbvsmc")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy