commonMain.aws.sdk.kotlin.services.databrew.model.InputFormat.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 InputFormat {
public abstract val value: kotlin.String
public object Csv : aws.sdk.kotlin.services.databrew.model.InputFormat() {
override val value: kotlin.String = "CSV"
override fun toString(): kotlin.String = "Csv"
}
public object Excel : aws.sdk.kotlin.services.databrew.model.InputFormat() {
override val value: kotlin.String = "EXCEL"
override fun toString(): kotlin.String = "Excel"
}
public object Json : aws.sdk.kotlin.services.databrew.model.InputFormat() {
override val value: kotlin.String = "JSON"
override fun toString(): kotlin.String = "Json"
}
public object Orc : aws.sdk.kotlin.services.databrew.model.InputFormat() {
override val value: kotlin.String = "ORC"
override fun toString(): kotlin.String = "Orc"
}
public object Parquet : aws.sdk.kotlin.services.databrew.model.InputFormat() {
override val value: kotlin.String = "PARQUET"
override fun toString(): kotlin.String = "Parquet"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.databrew.model.InputFormat() {
override fun toString(): kotlin.String = "SdkUnknown($value)"
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.databrew.model.InputFormat = when (value) {
"CSV" -> Csv
"EXCEL" -> Excel
"JSON" -> Json
"ORC" -> Orc
"PARQUET" -> Parquet
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Csv,
Excel,
Json,
Orc,
Parquet,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy