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

com.pulumi.azurenative.azurearcdata.kotlin.inputs.SqlServerDatabaseResourcePropertiesDatabaseOptionsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.azurearcdata.kotlin.inputs

import com.pulumi.azurenative.azurearcdata.inputs.SqlServerDatabaseResourcePropertiesDatabaseOptionsArgs.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.Suppress
import kotlin.jvm.JvmName

/**
 * List of features that are enabled for the database
 * @property isAutoCloseOn
 * @property isAutoCreateStatsOn
 * @property isAutoShrinkOn
 * @property isAutoUpdateStatsOn
 * @property isEncrypted
 * @property isMemoryOptimizationEnabled
 * @property isRemoteDataArchiveEnabled
 * @property isTrustworthyOn
 */
public data class SqlServerDatabaseResourcePropertiesDatabaseOptionsArgs(
    public val isAutoCloseOn: Output? = null,
    public val isAutoCreateStatsOn: Output? = null,
    public val isAutoShrinkOn: Output? = null,
    public val isAutoUpdateStatsOn: Output? = null,
    public val isEncrypted: Output? = null,
    public val isMemoryOptimizationEnabled: Output? = null,
    public val isRemoteDataArchiveEnabled: Output? = null,
    public val isTrustworthyOn: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.azurearcdata.inputs.SqlServerDatabaseResourcePropertiesDatabaseOptionsArgs =
        com.pulumi.azurenative.azurearcdata.inputs.SqlServerDatabaseResourcePropertiesDatabaseOptionsArgs.builder()
            .isAutoCloseOn(isAutoCloseOn?.applyValue({ args0 -> args0 }))
            .isAutoCreateStatsOn(isAutoCreateStatsOn?.applyValue({ args0 -> args0 }))
            .isAutoShrinkOn(isAutoShrinkOn?.applyValue({ args0 -> args0 }))
            .isAutoUpdateStatsOn(isAutoUpdateStatsOn?.applyValue({ args0 -> args0 }))
            .isEncrypted(isEncrypted?.applyValue({ args0 -> args0 }))
            .isMemoryOptimizationEnabled(isMemoryOptimizationEnabled?.applyValue({ args0 -> args0 }))
            .isRemoteDataArchiveEnabled(isRemoteDataArchiveEnabled?.applyValue({ args0 -> args0 }))
            .isTrustworthyOn(isTrustworthyOn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SqlServerDatabaseResourcePropertiesDatabaseOptionsArgs].
 */
@PulumiTagMarker
public class SqlServerDatabaseResourcePropertiesDatabaseOptionsArgsBuilder internal constructor() {
    private var isAutoCloseOn: Output? = null

    private var isAutoCreateStatsOn: Output? = null

    private var isAutoShrinkOn: Output? = null

    private var isAutoUpdateStatsOn: Output? = null

    private var isEncrypted: Output? = null

    private var isMemoryOptimizationEnabled: Output? = null

    private var isRemoteDataArchiveEnabled: Output? = null

    private var isTrustworthyOn: Output? = null

    /**
     * @param value
     */
    @JvmName("gkhbylaatjaaatnt")
    public suspend fun isAutoCloseOn(`value`: Output) {
        this.isAutoCloseOn = value
    }

    /**
     * @param value
     */
    @JvmName("hfottwceopwyxmxm")
    public suspend fun isAutoCreateStatsOn(`value`: Output) {
        this.isAutoCreateStatsOn = value
    }

    /**
     * @param value
     */
    @JvmName("dthravkcueiirpsa")
    public suspend fun isAutoShrinkOn(`value`: Output) {
        this.isAutoShrinkOn = value
    }

    /**
     * @param value
     */
    @JvmName("gpqrcupdlquprxyj")
    public suspend fun isAutoUpdateStatsOn(`value`: Output) {
        this.isAutoUpdateStatsOn = value
    }

    /**
     * @param value
     */
    @JvmName("akrabmxllcarbvpx")
    public suspend fun isEncrypted(`value`: Output) {
        this.isEncrypted = value
    }

    /**
     * @param value
     */
    @JvmName("txbsvoqijtmthpnp")
    public suspend fun isMemoryOptimizationEnabled(`value`: Output) {
        this.isMemoryOptimizationEnabled = value
    }

    /**
     * @param value
     */
    @JvmName("yxarunmuekrdjfrs")
    public suspend fun isRemoteDataArchiveEnabled(`value`: Output) {
        this.isRemoteDataArchiveEnabled = value
    }

    /**
     * @param value
     */
    @JvmName("lfjxaxshcnbflxvn")
    public suspend fun isTrustworthyOn(`value`: Output) {
        this.isTrustworthyOn = value
    }

    /**
     * @param value
     */
    @JvmName("cbrrhoaoilfcifwx")
    public suspend fun isAutoCloseOn(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isAutoCloseOn = mapped
    }

    /**
     * @param value
     */
    @JvmName("aphxonkohscsqjdc")
    public suspend fun isAutoCreateStatsOn(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isAutoCreateStatsOn = mapped
    }

    /**
     * @param value
     */
    @JvmName("dlejkwywxfbulhex")
    public suspend fun isAutoShrinkOn(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isAutoShrinkOn = mapped
    }

    /**
     * @param value
     */
    @JvmName("prpgxxwhiukvsaby")
    public suspend fun isAutoUpdateStatsOn(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isAutoUpdateStatsOn = mapped
    }

    /**
     * @param value
     */
    @JvmName("ijmxxfqrelxeeppw")
    public suspend fun isEncrypted(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isEncrypted = mapped
    }

    /**
     * @param value
     */
    @JvmName("sajxcweqadnbmmeu")
    public suspend fun isMemoryOptimizationEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isMemoryOptimizationEnabled = mapped
    }

    /**
     * @param value
     */
    @JvmName("ffxourppkpbxpusq")
    public suspend fun isRemoteDataArchiveEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isRemoteDataArchiveEnabled = mapped
    }

    /**
     * @param value
     */
    @JvmName("ahmsdrxcdybaddya")
    public suspend fun isTrustworthyOn(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isTrustworthyOn = mapped
    }

    internal fun build(): SqlServerDatabaseResourcePropertiesDatabaseOptionsArgs =
        SqlServerDatabaseResourcePropertiesDatabaseOptionsArgs(
            isAutoCloseOn = isAutoCloseOn,
            isAutoCreateStatsOn = isAutoCreateStatsOn,
            isAutoShrinkOn = isAutoShrinkOn,
            isAutoUpdateStatsOn = isAutoUpdateStatsOn,
            isEncrypted = isEncrypted,
            isMemoryOptimizationEnabled = isMemoryOptimizationEnabled,
            isRemoteDataArchiveEnabled = isRemoteDataArchiveEnabled,
            isTrustworthyOn = isTrustworthyOn,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy