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

commonMain.aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField.kt Maven / Gradle / Ivy

There is a newer version: 1.3.76
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.computeoptimizer.model

import kotlin.collections.List

public sealed class ExportableLambdaFunctionField {
    public abstract val value: kotlin.String

    public object AccountId : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "AccountId"
        override fun toString(): kotlin.String = "AccountId"
    }

    public object CurrentConfigurationMemorySize : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "CurrentConfigurationMemorySize"
        override fun toString(): kotlin.String = "CurrentConfigurationMemorySize"
    }

    public object CurrentConfigurationTimeout : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "CurrentConfigurationTimeout"
        override fun toString(): kotlin.String = "CurrentConfigurationTimeout"
    }

    public object CurrentCostAverage : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "CurrentCostAverage"
        override fun toString(): kotlin.String = "CurrentCostAverage"
    }

    public object CurrentCostTotal : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "CurrentCostTotal"
        override fun toString(): kotlin.String = "CurrentCostTotal"
    }

    public object CurrentPerformanceRisk : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "CurrentPerformanceRisk"
        override fun toString(): kotlin.String = "CurrentPerformanceRisk"
    }

    public object EffectiveRecommendationPreferencesSavingsEstimationMode : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "EffectiveRecommendationPreferencesSavingsEstimationMode"
        override fun toString(): kotlin.String = "EffectiveRecommendationPreferencesSavingsEstimationMode"
    }

    public object Finding : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "Finding"
        override fun toString(): kotlin.String = "Finding"
    }

    public object FindingReasonCodes : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "FindingReasonCodes"
        override fun toString(): kotlin.String = "FindingReasonCodes"
    }

    public object FunctionArn : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "FunctionArn"
        override fun toString(): kotlin.String = "FunctionArn"
    }

    public object FunctionVersion : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "FunctionVersion"
        override fun toString(): kotlin.String = "FunctionVersion"
    }

    public object LastRefreshTimestamp : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "LastRefreshTimestamp"
        override fun toString(): kotlin.String = "LastRefreshTimestamp"
    }

    public object LookbackPeriodInDays : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "LookbackPeriodInDays"
        override fun toString(): kotlin.String = "LookbackPeriodInDays"
    }

    public object NumberOfInvocations : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "NumberOfInvocations"
        override fun toString(): kotlin.String = "NumberOfInvocations"
    }

    public object RecommendationOptionsConfigurationMemorySize : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "RecommendationOptionsConfigurationMemorySize"
        override fun toString(): kotlin.String = "RecommendationOptionsConfigurationMemorySize"
    }

    public object RecommendationOptionsCostHigh : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "RecommendationOptionsCostHigh"
        override fun toString(): kotlin.String = "RecommendationOptionsCostHigh"
    }

    public object RecommendationOptionsCostLow : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "RecommendationOptionsCostLow"
        override fun toString(): kotlin.String = "RecommendationOptionsCostLow"
    }

    public object RecommendationOptionsEstimatedMonthlySavingsCurrency : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsCurrency"
        override fun toString(): kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsCurrency"
    }

    public object RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts"
        override fun toString(): kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts"
    }

    public object RecommendationOptionsEstimatedMonthlySavingsValue : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsValue"
        override fun toString(): kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsValue"
    }

    public object RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"
        override fun toString(): kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"
    }

    public object RecommendationOptionsProjectedUtilizationMetricsDurationExpected : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "RecommendationOptionsProjectedUtilizationMetricsDurationExpected"
        override fun toString(): kotlin.String = "RecommendationOptionsProjectedUtilizationMetricsDurationExpected"
    }

    public object RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound"
        override fun toString(): kotlin.String = "RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound"
    }

    public object RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound"
        override fun toString(): kotlin.String = "RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound"
    }

    public object RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage"
        override fun toString(): kotlin.String = "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage"
    }

    public object RecommendationOptionsSavingsOpportunityPercentage : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "RecommendationOptionsSavingsOpportunityPercentage"
        override fun toString(): kotlin.String = "RecommendationOptionsSavingsOpportunityPercentage"
    }

    public object Tags : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "Tags"
        override fun toString(): kotlin.String = "Tags"
    }

    public object UtilizationMetricsDurationAverage : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "UtilizationMetricsDurationAverage"
        override fun toString(): kotlin.String = "UtilizationMetricsDurationAverage"
    }

    public object UtilizationMetricsDurationMaximum : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "UtilizationMetricsDurationMaximum"
        override fun toString(): kotlin.String = "UtilizationMetricsDurationMaximum"
    }

    public object UtilizationMetricsMemoryAverage : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "UtilizationMetricsMemoryAverage"
        override fun toString(): kotlin.String = "UtilizationMetricsMemoryAverage"
    }

    public object UtilizationMetricsMemoryMaximum : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        override val value: kotlin.String = "UtilizationMetricsMemoryMaximum"
        override fun toString(): kotlin.String = "UtilizationMetricsMemoryMaximum"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLambdaFunctionField() {
        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.computeoptimizer.model.ExportableLambdaFunctionField = when (value) {
            "AccountId" -> AccountId
            "CurrentConfigurationMemorySize" -> CurrentConfigurationMemorySize
            "CurrentConfigurationTimeout" -> CurrentConfigurationTimeout
            "CurrentCostAverage" -> CurrentCostAverage
            "CurrentCostTotal" -> CurrentCostTotal
            "CurrentPerformanceRisk" -> CurrentPerformanceRisk
            "EffectiveRecommendationPreferencesSavingsEstimationMode" -> EffectiveRecommendationPreferencesSavingsEstimationMode
            "Finding" -> Finding
            "FindingReasonCodes" -> FindingReasonCodes
            "FunctionArn" -> FunctionArn
            "FunctionVersion" -> FunctionVersion
            "LastRefreshTimestamp" -> LastRefreshTimestamp
            "LookbackPeriodInDays" -> LookbackPeriodInDays
            "NumberOfInvocations" -> NumberOfInvocations
            "RecommendationOptionsConfigurationMemorySize" -> RecommendationOptionsConfigurationMemorySize
            "RecommendationOptionsCostHigh" -> RecommendationOptionsCostHigh
            "RecommendationOptionsCostLow" -> RecommendationOptionsCostLow
            "RecommendationOptionsEstimatedMonthlySavingsCurrency" -> RecommendationOptionsEstimatedMonthlySavingsCurrency
            "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" -> RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts
            "RecommendationOptionsEstimatedMonthlySavingsValue" -> RecommendationOptionsEstimatedMonthlySavingsValue
            "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" -> RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts
            "RecommendationOptionsProjectedUtilizationMetricsDurationExpected" -> RecommendationOptionsProjectedUtilizationMetricsDurationExpected
            "RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound" -> RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound
            "RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound" -> RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound
            "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" -> RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage
            "RecommendationOptionsSavingsOpportunityPercentage" -> RecommendationOptionsSavingsOpportunityPercentage
            "Tags" -> Tags
            "UtilizationMetricsDurationAverage" -> UtilizationMetricsDurationAverage
            "UtilizationMetricsDurationMaximum" -> UtilizationMetricsDurationMaximum
            "UtilizationMetricsMemoryAverage" -> UtilizationMetricsMemoryAverage
            "UtilizationMetricsMemoryMaximum" -> UtilizationMetricsMemoryMaximum
            else -> SdkUnknown(value)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = values

        private val values: kotlin.collections.List = listOf(
            AccountId,
            CurrentConfigurationMemorySize,
            CurrentConfigurationTimeout,
            CurrentCostAverage,
            CurrentCostTotal,
            CurrentPerformanceRisk,
            EffectiveRecommendationPreferencesSavingsEstimationMode,
            Finding,
            FindingReasonCodes,
            FunctionArn,
            FunctionVersion,
            LastRefreshTimestamp,
            LookbackPeriodInDays,
            NumberOfInvocations,
            RecommendationOptionsConfigurationMemorySize,
            RecommendationOptionsCostHigh,
            RecommendationOptionsCostLow,
            RecommendationOptionsEstimatedMonthlySavingsCurrency,
            RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts,
            RecommendationOptionsEstimatedMonthlySavingsValue,
            RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts,
            RecommendationOptionsProjectedUtilizationMetricsDurationExpected,
            RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound,
            RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound,
            RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage,
            RecommendationOptionsSavingsOpportunityPercentage,
            Tags,
            UtilizationMetricsDurationAverage,
            UtilizationMetricsDurationMaximum,
            UtilizationMetricsMemoryAverage,
            UtilizationMetricsMemoryMaximum,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy