com.pulumi.awsnative.datapipeline.kotlin.outputs.PipelineField.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datapipeline.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property key Specifies the name of a field for a particular object. To view valid values for a particular field, see Pipeline Object Reference in the AWS Data Pipeline Developer Guide.
* @property refValue A field value that you specify as an identifier of another object in the same pipeline definition.
* @property stringValue A field value that you specify as a string. To view valid values for a particular field, see Pipeline Object Reference in the AWS Data Pipeline Developer Guide.
*/
public data class PipelineField(
public val key: String,
public val refValue: String? = null,
public val stringValue: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.datapipeline.outputs.PipelineField): PipelineField = PipelineField(
key = javaType.key(),
refValue = javaType.refValue().map({ args0 -> args0 }).orElse(null),
stringValue = javaType.stringValue().map({ args0 -> args0 }).orElse(null),
)
}
}