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

com.pulumi.awsnative.evidently.kotlin.inputs.LaunchExecutionStatusObjectArgs.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: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.evidently.kotlin.inputs

import com.pulumi.awsnative.evidently.inputs.LaunchExecutionStatusObjectArgs.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 desiredState Provide CANCELLED or COMPLETED as the launch desired state. Defaults to Completed if not provided.
 * @property reason Provide a reason for stopping the launch. Defaults to empty if not provided.
 * @property status Provide START or STOP action to apply on a launch
 */
public data class LaunchExecutionStatusObjectArgs(
    public val desiredState: Output? = null,
    public val reason: Output? = null,
    public val status: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.evidently.inputs.LaunchExecutionStatusObjectArgs =
        com.pulumi.awsnative.evidently.inputs.LaunchExecutionStatusObjectArgs.builder()
            .desiredState(desiredState?.applyValue({ args0 -> args0 }))
            .reason(reason?.applyValue({ args0 -> args0 }))
            .status(status.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LaunchExecutionStatusObjectArgs].
 */
@PulumiTagMarker
public class LaunchExecutionStatusObjectArgsBuilder internal constructor() {
    private var desiredState: Output? = null

    private var reason: Output? = null

    private var status: Output? = null

    /**
     * @param value Provide CANCELLED or COMPLETED as the launch desired state. Defaults to Completed if not provided.
     */
    @JvmName("qsqrblbgxowtbyvi")
    public suspend fun desiredState(`value`: Output) {
        this.desiredState = value
    }

    /**
     * @param value Provide a reason for stopping the launch. Defaults to empty if not provided.
     */
    @JvmName("wmvcbajrckulyufa")
    public suspend fun reason(`value`: Output) {
        this.reason = value
    }

    /**
     * @param value Provide START or STOP action to apply on a launch
     */
    @JvmName("dkcikvbxovswykek")
    public suspend fun status(`value`: Output) {
        this.status = value
    }

    /**
     * @param value Provide CANCELLED or COMPLETED as the launch desired state. Defaults to Completed if not provided.
     */
    @JvmName("sultrunlavidithb")
    public suspend fun desiredState(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.desiredState = mapped
    }

    /**
     * @param value Provide a reason for stopping the launch. Defaults to empty if not provided.
     */
    @JvmName("riciyrdsofkrofga")
    public suspend fun reason(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.reason = mapped
    }

    /**
     * @param value Provide START or STOP action to apply on a launch
     */
    @JvmName("qxtdadvykvkdflfe")
    public suspend fun status(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.status = mapped
    }

    internal fun build(): LaunchExecutionStatusObjectArgs = LaunchExecutionStatusObjectArgs(
        desiredState = desiredState,
        reason = reason,
        status = status ?: throw PulumiNullFieldException("status"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy