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

com.pulumi.azurenative.azurestackhci.kotlin.inputs.UpdatePrerequisiteArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.azurestackhci.kotlin.inputs

import com.pulumi.azurenative.azurestackhci.inputs.UpdatePrerequisiteArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * If update State is HasPrerequisite, this property contains an array of objects describing prerequisite updates before installing this update. Otherwise, it is empty.
 * @property packageName Friendly name of the prerequisite.
 * @property updateType Updatable component type.
 * @property version Version of the prerequisite.
 */
public data class UpdatePrerequisiteArgs(
    public val packageName: Output? = null,
    public val updateType: Output? = null,
    public val version: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.azurestackhci.inputs.UpdatePrerequisiteArgs =
        com.pulumi.azurenative.azurestackhci.inputs.UpdatePrerequisiteArgs.builder()
            .packageName(packageName?.applyValue({ args0 -> args0 }))
            .updateType(updateType?.applyValue({ args0 -> args0 }))
            .version(version?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [UpdatePrerequisiteArgs].
 */
@PulumiTagMarker
public class UpdatePrerequisiteArgsBuilder internal constructor() {
    private var packageName: Output? = null

    private var updateType: Output? = null

    private var version: Output? = null

    /**
     * @param value Friendly name of the prerequisite.
     */
    @JvmName("bvthlhvyxxmkphbs")
    public suspend fun packageName(`value`: Output) {
        this.packageName = value
    }

    /**
     * @param value Updatable component type.
     */
    @JvmName("uecdafydvyvxvpgi")
    public suspend fun updateType(`value`: Output) {
        this.updateType = value
    }

    /**
     * @param value Version of the prerequisite.
     */
    @JvmName("jrimhpjxjtmwmtde")
    public suspend fun version(`value`: Output) {
        this.version = value
    }

    /**
     * @param value Friendly name of the prerequisite.
     */
    @JvmName("reuwkdibrgqmgwxr")
    public suspend fun packageName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.packageName = mapped
    }

    /**
     * @param value Updatable component type.
     */
    @JvmName("qmviilouoeugohxh")
    public suspend fun updateType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.updateType = mapped
    }

    /**
     * @param value Version of the prerequisite.
     */
    @JvmName("qyssarpkwkqtqkcb")
    public suspend fun version(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.version = mapped
    }

    internal fun build(): UpdatePrerequisiteArgs = UpdatePrerequisiteArgs(
        packageName = packageName,
        updateType = updateType,
        version = version,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy