![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.eventschemas.kotlin.SchemaArgs.kt Maven / Gradle / Ivy
@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("rmpgjeliscqvrdes")
public suspend fun content(`value`: Output) {
this.content = value
}
/**
* @param value A description of the schema.
*/
@JvmName("rdrvwwplfqejugxm")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of the schema registry.
*/
@JvmName("pumksrifmtocxogy")
public suspend fun registryName(`value`: Output) {
this.registryName = value
}
/**
* @param value The name of the schema.
*/
@JvmName("drfuttadoupymwrh")
public suspend fun schemaName(`value`: Output) {
this.schemaName = value
}
/**
* @param value Tags associated with the resource.
*/
@JvmName("itnexnbpeyytrons")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("togqgvmwqbajwymb")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Tags associated with the resource.
*/
@JvmName("digvgcxgoqrehqqo")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy