
com.pulumi.awsnative.sagemaker.kotlin.inputs.FeatureGroupFeatureDefinitionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.FeatureGroupFeatureDefinitionArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.FeatureGroupFeatureDefinitionFeatureType
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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property featureName The name of a feature. The type must be a string. `FeatureName` cannot be any of the following: `is_deleted` , `write_time` , `api_invocation_time` .
* The name:
* - Must start with an alphanumeric character.
* - Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
* @property featureType The value type of a feature. Valid values are Integral, Fractional, or String.
*/
public data class FeatureGroupFeatureDefinitionArgs(
public val featureName: Output,
public val featureType: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.FeatureGroupFeatureDefinitionArgs =
com.pulumi.awsnative.sagemaker.inputs.FeatureGroupFeatureDefinitionArgs.builder()
.featureName(featureName.applyValue({ args0 -> args0 }))
.featureType(featureType.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [FeatureGroupFeatureDefinitionArgs].
*/
@PulumiTagMarker
public class FeatureGroupFeatureDefinitionArgsBuilder internal constructor() {
private var featureName: Output? = null
private var featureType: Output? = null
/**
* @param value The name of a feature. The type must be a string. `FeatureName` cannot be any of the following: `is_deleted` , `write_time` , `api_invocation_time` .
* The name:
* - Must start with an alphanumeric character.
* - Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
*/
@JvmName("npjtdadnuwrcymdo")
public suspend fun featureName(`value`: Output) {
this.featureName = value
}
/**
* @param value The value type of a feature. Valid values are Integral, Fractional, or String.
*/
@JvmName("nemikqvsjuyceyuy")
public suspend fun featureType(`value`: Output) {
this.featureType = value
}
/**
* @param value The name of a feature. The type must be a string. `FeatureName` cannot be any of the following: `is_deleted` , `write_time` , `api_invocation_time` .
* The name:
* - Must start with an alphanumeric character.
* - Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
*/
@JvmName("jxhiiqjuodiselly")
public suspend fun featureName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.featureName = mapped
}
/**
* @param value The value type of a feature. Valid values are Integral, Fractional, or String.
*/
@JvmName("iacahicqlugtijio")
public suspend fun featureType(`value`: FeatureGroupFeatureDefinitionFeatureType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.featureType = mapped
}
internal fun build(): FeatureGroupFeatureDefinitionArgs = FeatureGroupFeatureDefinitionArgs(
featureName = featureName ?: throw PulumiNullFieldException("featureName"),
featureType = featureType ?: throw PulumiNullFieldException("featureType"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy