commonMain.aws.sdk.kotlin.services.firehose.model.ProcessorParameterName.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of firehose-jvm Show documentation
Show all versions of firehose-jvm Show documentation
The AWS SDK for Kotlin client for Firehose
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.firehose.model
import kotlin.collections.List
public sealed class ProcessorParameterName {
public abstract val value: kotlin.String
public object BufferIntervalInSeconds : aws.sdk.kotlin.services.firehose.model.ProcessorParameterName() {
override val value: kotlin.String = "BufferIntervalInSeconds"
override fun toString(): kotlin.String = "BufferIntervalInSeconds"
}
public object BufferSizeInMb : aws.sdk.kotlin.services.firehose.model.ProcessorParameterName() {
override val value: kotlin.String = "BufferSizeInMBs"
override fun toString(): kotlin.String = "BufferSizeInMb"
}
public object CompressionFormat : aws.sdk.kotlin.services.firehose.model.ProcessorParameterName() {
override val value: kotlin.String = "CompressionFormat"
override fun toString(): kotlin.String = "CompressionFormat"
}
public object DataMessageExtraction : aws.sdk.kotlin.services.firehose.model.ProcessorParameterName() {
override val value: kotlin.String = "DataMessageExtraction"
override fun toString(): kotlin.String = "DataMessageExtraction"
}
public object Delimiter : aws.sdk.kotlin.services.firehose.model.ProcessorParameterName() {
override val value: kotlin.String = "Delimiter"
override fun toString(): kotlin.String = "Delimiter"
}
public object JsonParsingEngine : aws.sdk.kotlin.services.firehose.model.ProcessorParameterName() {
override val value: kotlin.String = "JsonParsingEngine"
override fun toString(): kotlin.String = "JsonParsingEngine"
}
public object LambdaArn : aws.sdk.kotlin.services.firehose.model.ProcessorParameterName() {
override val value: kotlin.String = "LambdaArn"
override fun toString(): kotlin.String = "LambdaArn"
}
public object LambdaNumberOfRetries : aws.sdk.kotlin.services.firehose.model.ProcessorParameterName() {
override val value: kotlin.String = "NumberOfRetries"
override fun toString(): kotlin.String = "LambdaNumberOfRetries"
}
public object MetadataExtractionQuery : aws.sdk.kotlin.services.firehose.model.ProcessorParameterName() {
override val value: kotlin.String = "MetadataExtractionQuery"
override fun toString(): kotlin.String = "MetadataExtractionQuery"
}
public object RoleArn : aws.sdk.kotlin.services.firehose.model.ProcessorParameterName() {
override val value: kotlin.String = "RoleArn"
override fun toString(): kotlin.String = "RoleArn"
}
public object SubRecordType : aws.sdk.kotlin.services.firehose.model.ProcessorParameterName() {
override val value: kotlin.String = "SubRecordType"
override fun toString(): kotlin.String = "SubRecordType"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.firehose.model.ProcessorParameterName() {
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.firehose.model.ProcessorParameterName = when (value) {
"BufferIntervalInSeconds" -> BufferIntervalInSeconds
"BufferSizeInMBs" -> BufferSizeInMb
"CompressionFormat" -> CompressionFormat
"DataMessageExtraction" -> DataMessageExtraction
"Delimiter" -> Delimiter
"JsonParsingEngine" -> JsonParsingEngine
"LambdaArn" -> LambdaArn
"NumberOfRetries" -> LambdaNumberOfRetries
"MetadataExtractionQuery" -> MetadataExtractionQuery
"RoleArn" -> RoleArn
"SubRecordType" -> SubRecordType
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
BufferIntervalInSeconds,
BufferSizeInMb,
CompressionFormat,
DataMessageExtraction,
Delimiter,
JsonParsingEngine,
LambdaArn,
LambdaNumberOfRetries,
MetadataExtractionQuery,
RoleArn,
SubRecordType,
)
}
}