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

com.pulumi.googlenative.cloudscheduler.v1.kotlin.inputs.GetJobPlainArgs.kt Maven / Gradle / Ivy

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

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

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

/**
 * Builder for [GetJobPlainArgs].
 */
@PulumiTagMarker
public class GetJobPlainArgsBuilder internal constructor() {
    private var jobId: String? = null

    private var location: String? = null

    private var project: String? = null

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

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

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

    internal fun build(): GetJobPlainArgs = GetJobPlainArgs(
        jobId = jobId ?: throw PulumiNullFieldException("jobId"),
        location = location ?: throw PulumiNullFieldException("location"),
        project = project,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy