![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.personalize.kotlin.SchemaArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.personalize.kotlin
import com.pulumi.awsnative.personalize.SchemaArgs.builder
import com.pulumi.awsnative.personalize.kotlin.enums.SchemaDomain
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::Personalize::Schema.
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property domain The domain of a Domain dataset group.
* @property name Name for the schema.
* @property schema A schema in Avro JSON format.
*/
public data class SchemaArgs(
public val domain: Output? = null,
public val name: Output? = null,
public val schema: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.personalize.SchemaArgs =
com.pulumi.awsnative.personalize.SchemaArgs.builder()
.domain(domain?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.schema(schema?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SchemaArgs].
*/
@PulumiTagMarker
public class SchemaArgsBuilder internal constructor() {
private var domain: Output? = null
private var name: Output? = null
private var schema: Output? = null
/**
* @param value The domain of a Domain dataset group.
*/
@JvmName("fmtrguvlqrplsuud")
public suspend fun domain(`value`: Output) {
this.domain = value
}
/**
* @param value Name for the schema.
*/
@JvmName("adwfgjqausdgxsar")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A schema in Avro JSON format.
*/
@JvmName("funmshbfcdlrahbb")
public suspend fun schema(`value`: Output) {
this.schema = value
}
/**
* @param value The domain of a Domain dataset group.
*/
@JvmName("tgbfmeyufvriiucj")
public suspend fun domain(`value`: SchemaDomain?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.domain = mapped
}
/**
* @param value Name for the schema.
*/
@JvmName("bhdqmuflfcjgdkbu")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value A schema in Avro JSON format.
*/
@JvmName("mlqhpjyigbypgrax")
public suspend fun schema(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.schema = mapped
}
internal fun build(): SchemaArgs = SchemaArgs(
domain = domain,
name = name,
schema = schema,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy