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

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

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

import com.pulumi.awsnative.sagemaker.inputs.FeatureGroupTtlDurationArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.FeatureGroupUnit
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * TTL configuration of the feature group
 * @property unit `TtlDuration` time unit.
 * @property value `TtlDuration` time value.
 */
public data class FeatureGroupTtlDurationArgs(
    public val unit: Output? = null,
    public val `value`: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.FeatureGroupTtlDurationArgs =
        com.pulumi.awsnative.sagemaker.inputs.FeatureGroupTtlDurationArgs.builder()
            .unit(unit?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .`value`(`value`?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FeatureGroupTtlDurationArgs].
 */
@PulumiTagMarker
public class FeatureGroupTtlDurationArgsBuilder internal constructor() {
    private var unit: Output? = null

    private var `value`: Output? = null

    /**
     * @param value `TtlDuration` time unit.
     */
    @JvmName("qhtlwcafnhjkfpnk")
    public suspend fun unit(`value`: Output) {
        this.unit = value
    }

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

    /**
     * @param value `TtlDuration` time unit.
     */
    @JvmName("wthoaiawybwgucfn")
    public suspend fun unit(`value`: FeatureGroupUnit?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.unit = mapped
    }

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

    internal fun build(): FeatureGroupTtlDurationArgs = FeatureGroupTtlDurationArgs(
        unit = unit,
        `value` = `value`,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy