![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.b2bi.kotlin.outputs.GetTransformerResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.b2bi.kotlin.outputs
import com.pulumi.awsnative.b2bi.kotlin.enums.TransformerFileFormat
import com.pulumi.awsnative.b2bi.kotlin.enums.TransformerStatus
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property createdAt Returns a timestamp indicating when the transformer was created. For example, `2023-07-20T19:58:44.624Z` .
* @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 modifiedAt Returns a timestamp representing the date and time for the most recent change for the transformer object.
* @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.
* @property transformerArn Returns an Amazon Resource Name (ARN) for a specific transformer.
* @property transformerId The system-assigned unique identifier for the transformer.
*/
public data class GetTransformerResult(
public val createdAt: String? = null,
public val ediType: TransformerEdiTypeProperties? = null,
public val fileFormat: TransformerFileFormat? = null,
public val mappingTemplate: String? = null,
public val modifiedAt: String? = null,
public val name: String? = null,
public val sampleDocument: String? = null,
public val status: TransformerStatus? = null,
public val tags: List? = null,
public val transformerArn: String? = null,
public val transformerId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.b2bi.outputs.GetTransformerResult): GetTransformerResult = GetTransformerResult(
createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
ediType = javaType.ediType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.b2bi.kotlin.outputs.TransformerEdiTypeProperties.Companion.toKotlin(args0)
})
}).orElse(null),
fileFormat = javaType.fileFormat().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.b2bi.kotlin.enums.TransformerFileFormat.Companion.toKotlin(args0)
})
}).orElse(null),
mappingTemplate = javaType.mappingTemplate().map({ args0 -> args0 }).orElse(null),
modifiedAt = javaType.modifiedAt().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
sampleDocument = javaType.sampleDocument().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.b2bi.kotlin.enums.TransformerStatus.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
transformerArn = javaType.transformerArn().map({ args0 -> args0 }).orElse(null),
transformerId = javaType.transformerId().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy