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

com.pulumi.aws.appsync.kotlin.inputs.DataSourceDynamodbConfigDeltaSyncConfigArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.appsync.kotlin.inputs

import com.pulumi.aws.appsync.inputs.DataSourceDynamodbConfigDeltaSyncConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property baseTableTtl The number of minutes that an Item is stored in the data source.
 * @property deltaSyncTableName The table name.
 * @property deltaSyncTableTtl The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.
 */
public data class DataSourceDynamodbConfigDeltaSyncConfigArgs(
    public val baseTableTtl: Output? = null,
    public val deltaSyncTableName: Output,
    public val deltaSyncTableTtl: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.appsync.inputs.DataSourceDynamodbConfigDeltaSyncConfigArgs =
        com.pulumi.aws.appsync.inputs.DataSourceDynamodbConfigDeltaSyncConfigArgs.builder()
            .baseTableTtl(baseTableTtl?.applyValue({ args0 -> args0 }))
            .deltaSyncTableName(deltaSyncTableName.applyValue({ args0 -> args0 }))
            .deltaSyncTableTtl(deltaSyncTableTtl?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataSourceDynamodbConfigDeltaSyncConfigArgs].
 */
@PulumiTagMarker
public class DataSourceDynamodbConfigDeltaSyncConfigArgsBuilder internal constructor() {
    private var baseTableTtl: Output? = null

    private var deltaSyncTableName: Output? = null

    private var deltaSyncTableTtl: Output? = null

    /**
     * @param value The number of minutes that an Item is stored in the data source.
     */
    @JvmName("eussvgxnrlqfvsfl")
    public suspend fun baseTableTtl(`value`: Output) {
        this.baseTableTtl = value
    }

    /**
     * @param value The table name.
     */
    @JvmName("tyccwxsjgqrrghmv")
    public suspend fun deltaSyncTableName(`value`: Output) {
        this.deltaSyncTableName = value
    }

    /**
     * @param value The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.
     */
    @JvmName("sfpvmeitcjwbtkgq")
    public suspend fun deltaSyncTableTtl(`value`: Output) {
        this.deltaSyncTableTtl = value
    }

    /**
     * @param value The number of minutes that an Item is stored in the data source.
     */
    @JvmName("klhseyfvlxmdevgn")
    public suspend fun baseTableTtl(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.baseTableTtl = mapped
    }

    /**
     * @param value The table name.
     */
    @JvmName("pwtbeqtuqdrfqkmp")
    public suspend fun deltaSyncTableName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.deltaSyncTableName = mapped
    }

    /**
     * @param value The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.
     */
    @JvmName("clhrkrrspkmlcaak")
    public suspend fun deltaSyncTableTtl(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deltaSyncTableTtl = mapped
    }

    internal fun build(): DataSourceDynamodbConfigDeltaSyncConfigArgs =
        DataSourceDynamodbConfigDeltaSyncConfigArgs(
            baseTableTtl = baseTableTtl,
            deltaSyncTableName = deltaSyncTableName ?: throw PulumiNullFieldException("deltaSyncTableName"),
            deltaSyncTableTtl = deltaSyncTableTtl,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy