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

com.pulumi.googlenative.datalineage.v1.kotlin.inputs.GetRunPlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.googlenative.datalineage.v1.kotlin.inputs

import com.pulumi.googlenative.datalineage.v1.inputs.GetRunPlainArgs.builder
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 location
 * @property processId
 * @property project
 * @property runId
 */
public data class GetRunPlainArgs(
    public val location: String,
    public val processId: String,
    public val project: String? = null,
    public val runId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.datalineage.v1.inputs.GetRunPlainArgs =
        com.pulumi.googlenative.datalineage.v1.inputs.GetRunPlainArgs.builder()
            .location(location.let({ args0 -> args0 }))
            .processId(processId.let({ args0 -> args0 }))
            .project(project?.let({ args0 -> args0 }))
            .runId(runId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetRunPlainArgs].
 */
@PulumiTagMarker
public class GetRunPlainArgsBuilder internal constructor() {
    private var location: String? = null

    private var processId: String? = null

    private var project: String? = null

    private var runId: String? = null

    /**
     * @param value
     */
    @JvmName("gkcguyaegvgibqjb")
    public suspend fun location(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.location = mapped
    }

    /**
     * @param value
     */
    @JvmName("fdptaxcikjhagtjj")
    public suspend fun processId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.processId = mapped
    }

    /**
     * @param value
     */
    @JvmName("epgfkpkkorsejlve")
    public suspend fun project(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.project = mapped
    }

    /**
     * @param value
     */
    @JvmName("ywvhtjqvnvuqcrmj")
    public suspend fun runId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.runId = mapped
    }

    internal fun build(): GetRunPlainArgs = GetRunPlainArgs(
        location = location ?: throw PulumiNullFieldException("location"),
        processId = processId ?: throw PulumiNullFieldException("processId"),
        project = project,
        runId = runId ?: throw PulumiNullFieldException("runId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy