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

com.pulumi.azurenative.recoveryservices.kotlin.inputs.MABContainerHealthDetailsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.recoveryservices.kotlin.inputs

import com.pulumi.azurenative.recoveryservices.inputs.MABContainerHealthDetailsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * MAB workload-specific Health Details.
 * @property code Health Code
 * @property message Health Message
 * @property recommendations Health Recommended Actions
 * @property title Health Title
 */
public data class MABContainerHealthDetailsArgs(
    public val code: Output? = null,
    public val message: Output? = null,
    public val recommendations: Output>? = null,
    public val title: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.recoveryservices.inputs.MABContainerHealthDetailsArgs =
        com.pulumi.azurenative.recoveryservices.inputs.MABContainerHealthDetailsArgs.builder()
            .code(code?.applyValue({ args0 -> args0 }))
            .message(message?.applyValue({ args0 -> args0 }))
            .recommendations(recommendations?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .title(title?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [MABContainerHealthDetailsArgs].
 */
@PulumiTagMarker
public class MABContainerHealthDetailsArgsBuilder internal constructor() {
    private var code: Output? = null

    private var message: Output? = null

    private var recommendations: Output>? = null

    private var title: Output? = null

    /**
     * @param value Health Code
     */
    @JvmName("weittxukvclxjiia")
    public suspend fun code(`value`: Output) {
        this.code = value
    }

    /**
     * @param value Health Message
     */
    @JvmName("jwfvxsxifivopxtc")
    public suspend fun message(`value`: Output) {
        this.message = value
    }

    /**
     * @param value Health Recommended Actions
     */
    @JvmName("cmpplqpsnxhsdcar")
    public suspend fun recommendations(`value`: Output>) {
        this.recommendations = value
    }

    @JvmName("cdjusarkkaksfdbb")
    public suspend fun recommendations(vararg values: Output) {
        this.recommendations = Output.all(values.asList())
    }

    /**
     * @param values Health Recommended Actions
     */
    @JvmName("eerjkbxlxqpifywn")
    public suspend fun recommendations(values: List>) {
        this.recommendations = Output.all(values)
    }

    /**
     * @param value Health Title
     */
    @JvmName("lmsnneeadfvuelts")
    public suspend fun title(`value`: Output) {
        this.title = value
    }

    /**
     * @param value Health Code
     */
    @JvmName("pnssifrvkalvanfc")
    public suspend fun code(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.code = mapped
    }

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

    /**
     * @param value Health Recommended Actions
     */
    @JvmName("vntuyistxkdmlbiv")
    public suspend fun recommendations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.recommendations = mapped
    }

    /**
     * @param values Health Recommended Actions
     */
    @JvmName("wbovgtkhnhkxtvnv")
    public suspend fun recommendations(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.recommendations = mapped
    }

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

    internal fun build(): MABContainerHealthDetailsArgs = MABContainerHealthDetailsArgs(
        code = code,
        message = message,
        recommendations = recommendations,
        title = title,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy