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

com.pulumi.awsnative.sagemaker.kotlin.inputs.FeatureGroupThroughputConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.sagemaker.kotlin.inputs

import com.pulumi.awsnative.sagemaker.inputs.FeatureGroupThroughputConfigArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.FeatureGroupThroughputMode
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.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property provisionedReadCapacityUnits For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.
 * @property provisionedWriteCapacityUnits For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
 * @property throughputMode The mode used for your feature group throughput: `ON_DEMAND` or `PROVISIONED` .
 */
public data class FeatureGroupThroughputConfigArgs(
    public val provisionedReadCapacityUnits: Output? = null,
    public val provisionedWriteCapacityUnits: Output? = null,
    public val throughputMode: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.FeatureGroupThroughputConfigArgs =
        com.pulumi.awsnative.sagemaker.inputs.FeatureGroupThroughputConfigArgs.builder()
            .provisionedReadCapacityUnits(provisionedReadCapacityUnits?.applyValue({ args0 -> args0 }))
            .provisionedWriteCapacityUnits(provisionedWriteCapacityUnits?.applyValue({ args0 -> args0 }))
            .throughputMode(
                throughputMode.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [FeatureGroupThroughputConfigArgs].
 */
@PulumiTagMarker
public class FeatureGroupThroughputConfigArgsBuilder internal constructor() {
    private var provisionedReadCapacityUnits: Output? = null

    private var provisionedWriteCapacityUnits: Output? = null

    private var throughputMode: Output? = null

    /**
     * @param value For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.
     */
    @JvmName("jfjnaqrnmgoqiers")
    public suspend fun provisionedReadCapacityUnits(`value`: Output) {
        this.provisionedReadCapacityUnits = value
    }

    /**
     * @param value For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
     */
    @JvmName("fcexgpjhqeesoago")
    public suspend fun provisionedWriteCapacityUnits(`value`: Output) {
        this.provisionedWriteCapacityUnits = value
    }

    /**
     * @param value The mode used for your feature group throughput: `ON_DEMAND` or `PROVISIONED` .
     */
    @JvmName("aalfgolhsnnxtpek")
    public suspend fun throughputMode(`value`: Output) {
        this.throughputMode = value
    }

    /**
     * @param value For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.
     */
    @JvmName("pjfwslrgfvvcjrkh")
    public suspend fun provisionedReadCapacityUnits(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.provisionedReadCapacityUnits = mapped
    }

    /**
     * @param value For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
     */
    @JvmName("qtkmkmbuyoxderiv")
    public suspend fun provisionedWriteCapacityUnits(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.provisionedWriteCapacityUnits = mapped
    }

    /**
     * @param value The mode used for your feature group throughput: `ON_DEMAND` or `PROVISIONED` .
     */
    @JvmName("ncwxrqiuykonkyrb")
    public suspend fun throughputMode(`value`: FeatureGroupThroughputMode) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.throughputMode = mapped
    }

    internal fun build(): FeatureGroupThroughputConfigArgs = FeatureGroupThroughputConfigArgs(
        provisionedReadCapacityUnits = provisionedReadCapacityUnits,
        provisionedWriteCapacityUnits = provisionedWriteCapacityUnits,
        throughputMode = throughputMode ?: throw PulumiNullFieldException("throughputMode"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy