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

com.pulumi.azurenative.storage.kotlin.inputs.ChangeFeedArgs.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.storage.kotlin.inputs

import com.pulumi.azurenative.storage.inputs.ChangeFeedArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The blob service properties for change feed events.
 * @property enabled Indicates whether change feed event logging is enabled for the Blob service.
 * @property retentionInDays Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.
 */
public data class ChangeFeedArgs(
    public val enabled: Output? = null,
    public val retentionInDays: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.storage.inputs.ChangeFeedArgs =
        com.pulumi.azurenative.storage.inputs.ChangeFeedArgs.builder()
            .enabled(enabled?.applyValue({ args0 -> args0 }))
            .retentionInDays(retentionInDays?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ChangeFeedArgs].
 */
@PulumiTagMarker
public class ChangeFeedArgsBuilder internal constructor() {
    private var enabled: Output? = null

    private var retentionInDays: Output? = null

    /**
     * @param value Indicates whether change feed event logging is enabled for the Blob service.
     */
    @JvmName("ndxfbqlkuehciyht")
    public suspend fun enabled(`value`: Output) {
        this.enabled = value
    }

    /**
     * @param value Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.
     */
    @JvmName("nuoeepadsbxbykrk")
    public suspend fun retentionInDays(`value`: Output) {
        this.retentionInDays = value
    }

    /**
     * @param value Indicates whether change feed event logging is enabled for the Blob service.
     */
    @JvmName("aemsaedqdpaayhal")
    public suspend fun enabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enabled = mapped
    }

    /**
     * @param value Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.
     */
    @JvmName("jysrecnmtwclioqy")
    public suspend fun retentionInDays(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.retentionInDays = mapped
    }

    internal fun build(): ChangeFeedArgs = ChangeFeedArgs(
        enabled = enabled,
        retentionInDays = retentionInDays,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy