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

commonMain.aws.sdk.kotlin.services.firehose.model.ProcessorParameterName.kt Maven / Gradle / Ivy

There is a newer version: 1.3.78
Show newest version
// 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,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy