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

com.pulumi.azurenative.machinelearningservices.kotlin.inputs.JobScheduleActionArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.machinelearningservices.kotlin.inputs

import com.pulumi.azurenative.machinelearningservices.inputs.JobScheduleActionArgs.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.Any
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property actionType
 * Expected value is 'CreateJob'.
 * @property jobBaseProperties [Required] Defines Schedule action definition details.
 */
public data class JobScheduleActionArgs(
    public val actionType: Output,
    public val jobBaseProperties: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.JobScheduleActionArgs = com.pulumi.azurenative.machinelearningservices.inputs.JobScheduleActionArgs.builder()
        .actionType(actionType.applyValue({ args0 -> args0 }))
        .jobBaseProperties(jobBaseProperties.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [JobScheduleActionArgs].
 */
@PulumiTagMarker
public class JobScheduleActionArgsBuilder internal constructor() {
    private var actionType: Output? = null

    private var jobBaseProperties: Output? = null

    /**
     * @param value
     * Expected value is 'CreateJob'.
     */
    @JvmName("mbbuayvfkxiumhpy")
    public suspend fun actionType(`value`: Output) {
        this.actionType = value
    }

    /**
     * @param value [Required] Defines Schedule action definition details.
     */
    @JvmName("vqbffckjlfexwlmn")
    public suspend fun jobBaseProperties(`value`: Output) {
        this.jobBaseProperties = value
    }

    /**
     * @param value
     * Expected value is 'CreateJob'.
     */
    @JvmName("jolmvrsqstkhcfnt")
    public suspend fun actionType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.actionType = mapped
    }

    /**
     * @param value [Required] Defines Schedule action definition details.
     */
    @JvmName("ywwgpupmrltbsgfh")
    public suspend fun jobBaseProperties(`value`: Any) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.jobBaseProperties = mapped
    }

    internal fun build(): JobScheduleActionArgs = JobScheduleActionArgs(
        actionType = actionType ?: throw PulumiNullFieldException("actionType"),
        jobBaseProperties = jobBaseProperties ?: throw PulumiNullFieldException("jobBaseProperties"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy