
com.pulumi.awsnative.eventschemas.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.eventschemas.kotlin
import com.pulumi.awsnative.eventschemas.SchemaArgs.builder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::EventSchemas::Schema
* ## Example Usage
* ### Example
* No Java example available.
* @property content The source of the schema definition.
* @property description A description of the schema.
* @property registryName The name of the schema registry.
* @property schemaName The name of the schema.
* @property tags Tags associated with the resource.
* @property type The type of schema. Valid types include OpenApi3 and JSONSchemaDraft4.
*/
public data class SchemaArgs(
public val content: Output? = null,
public val description: Output? = null,
public val registryName: Output? = null,
public val schemaName: Output? = null,
public val tags: Output>? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.eventschemas.SchemaArgs =
com.pulumi.awsnative.eventschemas.SchemaArgs.builder()
.content(content?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.registryName(registryName?.applyValue({ args0 -> args0 }))
.schemaName(schemaName?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SchemaArgs].
*/
@PulumiTagMarker
public class SchemaArgsBuilder internal constructor() {
private var content: Output? = null
private var description: Output? = null
private var registryName: Output? = null
private var schemaName: Output? = null
private var tags: Output>? = null
private var type: Output? = null
/**
* @param value The source of the schema definition.
*/
@JvmName("aqxchbrreohmnuug")
public suspend fun content(`value`: Output) {
this.content = value
}
/**
* @param value A description of the schema.
*/
@JvmName("dcpoksdauqvnerxf")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of the schema registry.
*/
@JvmName("aycrnepdxjlmjgph")
public suspend fun registryName(`value`: Output) {
this.registryName = value
}
/**
* @param value The name of the schema.
*/
@JvmName("ryyrfilffopyagwu")
public suspend fun schemaName(`value`: Output) {
this.schemaName = value
}
/**
* @param value Tags associated with the resource.
*/
@JvmName("qflecgbxchuntjql")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("kvqchrglcnfljhcm")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Tags associated with the resource.
*/
@JvmName("ipmjsatunilqxgfa")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy