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

com.pulumi.awsnative.dynamodb.kotlin.inputs.GlobalTableWriteProvisionedThroughputSettingsArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.dynamodb.kotlin.inputs

import com.pulumi.awsnative.dynamodb.inputs.GlobalTableWriteProvisionedThroughputSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property writeCapacityAutoScalingSettings Specifies auto scaling settings for the replica table or global secondary index.
 */
public data class GlobalTableWriteProvisionedThroughputSettingsArgs(
    public val writeCapacityAutoScalingSettings: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.dynamodb.inputs.GlobalTableWriteProvisionedThroughputSettingsArgs =
        com.pulumi.awsnative.dynamodb.inputs.GlobalTableWriteProvisionedThroughputSettingsArgs.builder()
            .writeCapacityAutoScalingSettings(
                writeCapacityAutoScalingSettings?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            ).build()
}

/**
 * Builder for [GlobalTableWriteProvisionedThroughputSettingsArgs].
 */
@PulumiTagMarker
public class GlobalTableWriteProvisionedThroughputSettingsArgsBuilder internal constructor() {
    private var writeCapacityAutoScalingSettings: Output? =
        null

    /**
     * @param value Specifies auto scaling settings for the replica table or global secondary index.
     */
    @JvmName("qkakxthsyotmgbtb")
    public suspend fun writeCapacityAutoScalingSettings(`value`: Output) {
        this.writeCapacityAutoScalingSettings = value
    }

    /**
     * @param value Specifies auto scaling settings for the replica table or global secondary index.
     */
    @JvmName("nwbxfsktvgdrkyny")
    public suspend fun writeCapacityAutoScalingSettings(`value`: GlobalTableCapacityAutoScalingSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.writeCapacityAutoScalingSettings = mapped
    }

    /**
     * @param argument Specifies auto scaling settings for the replica table or global secondary index.
     */
    @JvmName("awerltvildixewrg")
    public suspend fun writeCapacityAutoScalingSettings(argument: suspend GlobalTableCapacityAutoScalingSettingsArgsBuilder.() -> Unit) {
        val toBeMapped = GlobalTableCapacityAutoScalingSettingsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.writeCapacityAutoScalingSettings = mapped
    }

    internal fun build(): GlobalTableWriteProvisionedThroughputSettingsArgs =
        GlobalTableWriteProvisionedThroughputSettingsArgs(
            writeCapacityAutoScalingSettings = writeCapacityAutoScalingSettings,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy