All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.eventgrid.kotlin.enums.InputSchema.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.eventgrid.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * This determines the format that Event Grid should expect for incoming events published to the topic.
 */
public enum class InputSchema(
    public val javaValue: com.pulumi.azurenative.eventgrid.enums.InputSchema,
) : ConvertibleToJava {
    EventGridSchema(com.pulumi.azurenative.eventgrid.enums.InputSchema.EventGridSchema),
    CustomEventSchema(com.pulumi.azurenative.eventgrid.enums.InputSchema.CustomEventSchema),
    CloudEventSchemaV1_0(com.pulumi.azurenative.eventgrid.enums.InputSchema.CloudEventSchemaV1_0),
    ;

    override fun toJava(): com.pulumi.azurenative.eventgrid.enums.InputSchema = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.eventgrid.enums.InputSchema): InputSchema =
            InputSchema.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy