
com.pulumi.awsnative.personalize.kotlin.SchemaArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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("qtmkwygbtbkmnong")
public suspend fun domain(`value`: Output) {
this.domain = value
}
/**
* @param value Name for the schema.
*/
@JvmName("ebleqooxlfxcsoof")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A schema in Avro JSON format.
*/
@JvmName("ihbewxaynplrblfu")
public suspend fun schema(`value`: Output) {
this.schema = value
}
/**
* @param value The domain of a Domain dataset group.
*/
@JvmName("xwantyyqvnkjeytk")
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("yhmvcjoxxwkxeiwr")
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("duxgjbjfqpofpbog")
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