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

com.pulumi.gcp.redis.kotlin.inputs.ClusterPersistenceConfigAofConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.gcp.redis.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.redis.inputs.ClusterPersistenceConfigAofConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property appendFsync Optional. Available fsync modes.
 * - NO - Do not explicitly call fsync(). Rely on OS defaults.
 * - EVERYSEC - Call fsync() once per second in a background thread. A balance between performance and durability.
 * - ALWAYS - Call fsync() for earch write command.
 * Possible values are: `APPEND_FSYNC_UNSPECIFIED`, `NO`, `EVERYSEC`, `ALWAYS`.
 */
public data class ClusterPersistenceConfigAofConfigArgs(
    public val appendFsync: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.redis.inputs.ClusterPersistenceConfigAofConfigArgs =
        com.pulumi.gcp.redis.inputs.ClusterPersistenceConfigAofConfigArgs.builder()
            .appendFsync(appendFsync?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterPersistenceConfigAofConfigArgs].
 */
@PulumiTagMarker
public class ClusterPersistenceConfigAofConfigArgsBuilder internal constructor() {
    private var appendFsync: Output? = null

    /**
     * @param value Optional. Available fsync modes.
     * - NO - Do not explicitly call fsync(). Rely on OS defaults.
     * - EVERYSEC - Call fsync() once per second in a background thread. A balance between performance and durability.
     * - ALWAYS - Call fsync() for earch write command.
     * Possible values are: `APPEND_FSYNC_UNSPECIFIED`, `NO`, `EVERYSEC`, `ALWAYS`.
     */
    @JvmName("ajevaatmdsdlkbql")
    public suspend fun appendFsync(`value`: Output) {
        this.appendFsync = value
    }

    /**
     * @param value Optional. Available fsync modes.
     * - NO - Do not explicitly call fsync(). Rely on OS defaults.
     * - EVERYSEC - Call fsync() once per second in a background thread. A balance between performance and durability.
     * - ALWAYS - Call fsync() for earch write command.
     * Possible values are: `APPEND_FSYNC_UNSPECIFIED`, `NO`, `EVERYSEC`, `ALWAYS`.
     */
    @JvmName("cckgdjfxbxuqptwa")
    public suspend fun appendFsync(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.appendFsync = mapped
    }

    internal fun build(): ClusterPersistenceConfigAofConfigArgs =
        ClusterPersistenceConfigAofConfigArgs(
            appendFsync = appendFsync,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy