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

com.pulumi.awsnative.datapipeline.kotlin.inputs.PipelineFieldArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.datapipeline.kotlin.inputs

import com.pulumi.awsnative.datapipeline.inputs.PipelineFieldArgs.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 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 PipelineFieldArgs(
    public val key: Output,
    public val refValue: Output? = null,
    public val stringValue: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.datapipeline.inputs.PipelineFieldArgs =
        com.pulumi.awsnative.datapipeline.inputs.PipelineFieldArgs.builder()
            .key(key.applyValue({ args0 -> args0 }))
            .refValue(refValue?.applyValue({ args0 -> args0 }))
            .stringValue(stringValue?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PipelineFieldArgs].
 */
@PulumiTagMarker
public class PipelineFieldArgsBuilder internal constructor() {
    private var key: Output? = null

    private var refValue: Output? = null

    private var stringValue: Output? = null

    /**
     * @param value 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.
     */
    @JvmName("qwdkrduoktsdbmnf")
    public suspend fun key(`value`: Output) {
        this.key = value
    }

    /**
     * @param value A field value that you specify as an identifier of another object in the same pipeline definition.
     */
    @JvmName("yigydboelssacnpg")
    public suspend fun refValue(`value`: Output) {
        this.refValue = value
    }

    /**
     * @param value 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.
     */
    @JvmName("teqmeotvtgwhufkc")
    public suspend fun stringValue(`value`: Output) {
        this.stringValue = value
    }

    /**
     * @param value 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.
     */
    @JvmName("taiumtebnhqdongb")
    public suspend fun key(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.key = mapped
    }

    /**
     * @param value A field value that you specify as an identifier of another object in the same pipeline definition.
     */
    @JvmName("gungmwayrhippxxc")
    public suspend fun refValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.refValue = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("rbgnljdiwmirpith")
    public suspend fun stringValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.stringValue = mapped
    }

    internal fun build(): PipelineFieldArgs = PipelineFieldArgs(
        key = key ?: throw PulumiNullFieldException("key"),
        refValue = refValue,
        stringValue = stringValue,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy