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

com.pulumi.awsnative.datapipeline.kotlin.outputs.PipelineField.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: 0.122.0.0
Show newest version
@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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy