commonMain.aws.sdk.kotlin.services.databrew.model.OutputFormat.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of databrew-jvm Show documentation
Show all versions of databrew-jvm Show documentation
The AWS Kotlin client for DataBrew
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.databrew.model
import kotlin.collections.List
public sealed class OutputFormat {
public abstract val value: kotlin.String
public object Avro : aws.sdk.kotlin.services.databrew.model.OutputFormat() {
override val value: kotlin.String = "AVRO"
override fun toString(): kotlin.String = value
}
public object Csv : aws.sdk.kotlin.services.databrew.model.OutputFormat() {
override val value: kotlin.String = "CSV"
override fun toString(): kotlin.String = value
}
public object Glueparquet : aws.sdk.kotlin.services.databrew.model.OutputFormat() {
override val value: kotlin.String = "GLUEPARQUET"
override fun toString(): kotlin.String = value
}
public object Json : aws.sdk.kotlin.services.databrew.model.OutputFormat() {
override val value: kotlin.String = "JSON"
override fun toString(): kotlin.String = value
}
public object Orc : aws.sdk.kotlin.services.databrew.model.OutputFormat() {
override val value: kotlin.String = "ORC"
override fun toString(): kotlin.String = value
}
public object Parquet : aws.sdk.kotlin.services.databrew.model.OutputFormat() {
override val value: kotlin.String = "PARQUET"
override fun toString(): kotlin.String = value
}
public object Tableauhyper : aws.sdk.kotlin.services.databrew.model.OutputFormat() {
override val value: kotlin.String = "TABLEAUHYPER"
override fun toString(): kotlin.String = value
}
public object Xml : aws.sdk.kotlin.services.databrew.model.OutputFormat() {
override val value: kotlin.String = "XML"
override fun toString(): kotlin.String = value
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.databrew.model.OutputFormat() {
override fun toString(): kotlin.String = value
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.databrew.model.OutputFormat = when(str) {
"AVRO" -> Avro
"CSV" -> Csv
"GLUEPARQUET" -> Glueparquet
"JSON" -> Json
"ORC" -> Orc
"PARQUET" -> Parquet
"TABLEAUHYPER" -> Tableauhyper
"XML" -> Xml
else -> SdkUnknown(str)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = listOf(
Avro,
Csv,
Glueparquet,
Json,
Orc,
Parquet,
Tableauhyper,
Xml
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy