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

com.pulumi.azurenative.recoveryservices.kotlin.inputs.MabContainerExtendedInfoArgs.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.recoveryservices.kotlin.inputs

import com.pulumi.azurenative.recoveryservices.inputs.MabContainerExtendedInfoArgs.builder
import com.pulumi.azurenative.recoveryservices.kotlin.enums.BackupItemType
import com.pulumi.core.Either
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.collections.List
import kotlin.jvm.JvmName

/**
 * Additional information of the container.
 * @property backupItemType Type of backup items associated with this container.
 * @property backupItems List of backup items associated with this container.
 * @property lastBackupStatus Latest backup status of this container.
 * @property lastRefreshedAt Time stamp when this container was refreshed.
 * @property policyName Backup policy associated with this container.
 */
public data class MabContainerExtendedInfoArgs(
    public val backupItemType: Output>? = null,
    public val backupItems: Output>? = null,
    public val lastBackupStatus: Output? = null,
    public val lastRefreshedAt: Output? = null,
    public val policyName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.recoveryservices.inputs.MabContainerExtendedInfoArgs = com.pulumi.azurenative.recoveryservices.inputs.MabContainerExtendedInfoArgs.builder()
        .backupItemType(
            backupItemType?.applyValue({ args0 ->
                args0.transform({ args0 -> args0 }, { args0 ->
                    args0.let({ args0 -> args0.toJava() })
                })
            }),
        )
        .backupItems(backupItems?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
        .lastBackupStatus(lastBackupStatus?.applyValue({ args0 -> args0 }))
        .lastRefreshedAt(lastRefreshedAt?.applyValue({ args0 -> args0 }))
        .policyName(policyName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [MabContainerExtendedInfoArgs].
 */
@PulumiTagMarker
public class MabContainerExtendedInfoArgsBuilder internal constructor() {
    private var backupItemType: Output>? = null

    private var backupItems: Output>? = null

    private var lastBackupStatus: Output? = null

    private var lastRefreshedAt: Output? = null

    private var policyName: Output? = null

    /**
     * @param value Type of backup items associated with this container.
     */
    @JvmName("mwprebtjsovwpikw")
    public suspend fun backupItemType(`value`: Output>) {
        this.backupItemType = value
    }

    /**
     * @param value List of backup items associated with this container.
     */
    @JvmName("ogyngcjqcyfwfehk")
    public suspend fun backupItems(`value`: Output>) {
        this.backupItems = value
    }

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

    /**
     * @param values List of backup items associated with this container.
     */
    @JvmName("aspcwglwrwmclamf")
    public suspend fun backupItems(values: List>) {
        this.backupItems = Output.all(values)
    }

    /**
     * @param value Latest backup status of this container.
     */
    @JvmName("qtqjhcpjwwlcbjis")
    public suspend fun lastBackupStatus(`value`: Output) {
        this.lastBackupStatus = value
    }

    /**
     * @param value Time stamp when this container was refreshed.
     */
    @JvmName("gxlerxmklbgsenoi")
    public suspend fun lastRefreshedAt(`value`: Output) {
        this.lastRefreshedAt = value
    }

    /**
     * @param value Backup policy associated with this container.
     */
    @JvmName("mnrkjblcpwdiscax")
    public suspend fun policyName(`value`: Output) {
        this.policyName = value
    }

    /**
     * @param value Type of backup items associated with this container.
     */
    @JvmName("vuqwlxanpmadxtmo")
    public suspend fun backupItemType(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.backupItemType = mapped
    }

    /**
     * @param value Type of backup items associated with this container.
     */
    @JvmName("cccfjgtapklfmptx")
    public fun backupItemType(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.backupItemType = mapped
    }

    /**
     * @param value Type of backup items associated with this container.
     */
    @JvmName("uyhqgpvvdnuupohp")
    public fun backupItemType(`value`: BackupItemType) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.backupItemType = mapped
    }

    /**
     * @param value List of backup items associated with this container.
     */
    @JvmName("myahehfrkblwlcid")
    public suspend fun backupItems(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.backupItems = mapped
    }

    /**
     * @param values List of backup items associated with this container.
     */
    @JvmName("fnskcltslpqayauj")
    public suspend fun backupItems(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.backupItems = mapped
    }

    /**
     * @param value Latest backup status of this container.
     */
    @JvmName("wbocoonfqvfiyqip")
    public suspend fun lastBackupStatus(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.lastBackupStatus = mapped
    }

    /**
     * @param value Time stamp when this container was refreshed.
     */
    @JvmName("tnwvmmqhwnfeygam")
    public suspend fun lastRefreshedAt(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.lastRefreshedAt = mapped
    }

    /**
     * @param value Backup policy associated with this container.
     */
    @JvmName("xwuahkrofuxycrac")
    public suspend fun policyName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.policyName = mapped
    }

    internal fun build(): MabContainerExtendedInfoArgs = MabContainerExtendedInfoArgs(
        backupItemType = backupItemType,
        backupItems = backupItems,
        lastBackupStatus = lastBackupStatus,
        lastRefreshedAt = lastRefreshedAt,
        policyName = policyName,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy