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

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

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

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

import com.pulumi.azurenative.recoveryservices.inputs.AzureSqlProtectedItemExtendedInfoArgs.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.jvm.JvmName

/**
 * Additional information on Azure Sql specific protected item.
 * @property oldestRecoveryPoint The oldest backup copy available for this item in the service.
 * @property policyState State of the backup policy associated with this backup item.
 * @property recoveryPointCount Number of available backup copies associated with this backup item.
 */
public data class AzureSqlProtectedItemExtendedInfoArgs(
    public val oldestRecoveryPoint: Output? = null,
    public val policyState: Output? = null,
    public val recoveryPointCount: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.recoveryservices.inputs.AzureSqlProtectedItemExtendedInfoArgs =
        com.pulumi.azurenative.recoveryservices.inputs.AzureSqlProtectedItemExtendedInfoArgs.builder()
            .oldestRecoveryPoint(oldestRecoveryPoint?.applyValue({ args0 -> args0 }))
            .policyState(policyState?.applyValue({ args0 -> args0 }))
            .recoveryPointCount(recoveryPointCount?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AzureSqlProtectedItemExtendedInfoArgs].
 */
@PulumiTagMarker
public class AzureSqlProtectedItemExtendedInfoArgsBuilder internal constructor() {
    private var oldestRecoveryPoint: Output? = null

    private var policyState: Output? = null

    private var recoveryPointCount: Output? = null

    /**
     * @param value The oldest backup copy available for this item in the service.
     */
    @JvmName("iohlueigxxpmvatx")
    public suspend fun oldestRecoveryPoint(`value`: Output) {
        this.oldestRecoveryPoint = value
    }

    /**
     * @param value State of the backup policy associated with this backup item.
     */
    @JvmName("otjiwbhcnlcvgeyp")
    public suspend fun policyState(`value`: Output) {
        this.policyState = value
    }

    /**
     * @param value Number of available backup copies associated with this backup item.
     */
    @JvmName("wuxrelppufumlfvj")
    public suspend fun recoveryPointCount(`value`: Output) {
        this.recoveryPointCount = value
    }

    /**
     * @param value The oldest backup copy available for this item in the service.
     */
    @JvmName("uoxyoelhasctioeb")
    public suspend fun oldestRecoveryPoint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.oldestRecoveryPoint = mapped
    }

    /**
     * @param value State of the backup policy associated with this backup item.
     */
    @JvmName("nxnydgeclcapwgxh")
    public suspend fun policyState(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.policyState = mapped
    }

    /**
     * @param value Number of available backup copies associated with this backup item.
     */
    @JvmName("olpwxxsptsttgsku")
    public suspend fun recoveryPointCount(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.recoveryPointCount = mapped
    }

    internal fun build(): AzureSqlProtectedItemExtendedInfoArgs =
        AzureSqlProtectedItemExtendedInfoArgs(
            oldestRecoveryPoint = oldestRecoveryPoint,
            policyState = policyState,
            recoveryPointCount = recoveryPointCount,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy