commonMain.aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of computeoptimizer-jvm Show documentation
Show all versions of computeoptimizer-jvm Show documentation
The AWS SDK for Kotlin client for Compute Optimizer
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.computeoptimizer.model
import kotlin.collections.List
public sealed class ExportableEcsServiceField {
public abstract val value: kotlin.String
public object AccountId : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "AccountId"
override fun toString(): kotlin.String = "AccountId"
}
public object CurrentPerformanceRisk : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "CurrentPerformanceRisk"
override fun toString(): kotlin.String = "CurrentPerformanceRisk"
}
public object CurrentServiceConfigurationAutoScalingConfiguration : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "CurrentServiceConfigurationAutoScalingConfiguration"
override fun toString(): kotlin.String = "CurrentServiceConfigurationAutoScalingConfiguration"
}
public object CurrentServiceConfigurationCpu : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "CurrentServiceConfigurationCpu"
override fun toString(): kotlin.String = "CurrentServiceConfigurationCpu"
}
public object CurrentServiceConfigurationMemory : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "CurrentServiceConfigurationMemory"
override fun toString(): kotlin.String = "CurrentServiceConfigurationMemory"
}
public object CurrentServiceConfigurationTaskDefinitionArn : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "CurrentServiceConfigurationTaskDefinitionArn"
override fun toString(): kotlin.String = "CurrentServiceConfigurationTaskDefinitionArn"
}
public object CurrentServiceContainerConfigurations : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "CurrentServiceContainerConfigurations"
override fun toString(): kotlin.String = "CurrentServiceContainerConfigurations"
}
public object EffectiveRecommendationPreferencesSavingsEstimationMode : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "EffectiveRecommendationPreferencesSavingsEstimationMode"
override fun toString(): kotlin.String = "EffectiveRecommendationPreferencesSavingsEstimationMode"
}
public object Finding : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "Finding"
override fun toString(): kotlin.String = "Finding"
}
public object FindingReasonCodes : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "FindingReasonCodes"
override fun toString(): kotlin.String = "FindingReasonCodes"
}
public object LastRefreshTimestamp : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "LastRefreshTimestamp"
override fun toString(): kotlin.String = "LastRefreshTimestamp"
}
public object LaunchType : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "LaunchType"
override fun toString(): kotlin.String = "LaunchType"
}
public object LookbackPeriodInDays : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "LookbackPeriodInDays"
override fun toString(): kotlin.String = "LookbackPeriodInDays"
}
public object RecommendationOptionsContainerRecommendations : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "RecommendationOptionsContainerRecommendations"
override fun toString(): kotlin.String = "RecommendationOptionsContainerRecommendations"
}
public object RecommendationOptionsCpu : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "RecommendationOptionsCpu"
override fun toString(): kotlin.String = "RecommendationOptionsCpu"
}
public object RecommendationOptionsEstimatedMonthlySavingsCurrency : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsCurrency"
override fun toString(): kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsCurrency"
}
public object RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts"
override fun toString(): kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts"
}
public object RecommendationOptionsEstimatedMonthlySavingsValue : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsValue"
override fun toString(): kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsValue"
}
public object RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"
override fun toString(): kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"
}
public object RecommendationOptionsMemory : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "RecommendationOptionsMemory"
override fun toString(): kotlin.String = "RecommendationOptionsMemory"
}
public object RecommendationOptionsProjectedUtilizationMetricsCpuMaximum : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"
override fun toString(): kotlin.String = "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"
}
public object RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"
override fun toString(): kotlin.String = "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"
}
public object RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage"
override fun toString(): kotlin.String = "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage"
}
public object RecommendationOptionsSavingsOpportunityPercentage : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "RecommendationOptionsSavingsOpportunityPercentage"
override fun toString(): kotlin.String = "RecommendationOptionsSavingsOpportunityPercentage"
}
public object ServiceArn : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "ServiceArn"
override fun toString(): kotlin.String = "ServiceArn"
}
public object Tags : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "Tags"
override fun toString(): kotlin.String = "Tags"
}
public object UtilizationMetricsCpuMaximum : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
override val value: kotlin.String = "UtilizationMetricsCpuMaximum"
override fun toString(): kotlin.String = "UtilizationMetricsCpuMaximum"
}
public object UtilizationMetricsMemoryMaximum : aws.sdk.kotlin.services.computeoptimizer.model.ExportableEcsServiceField() {
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.ExportableEcsServiceField() {
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.ExportableEcsServiceField = when (value) {
"AccountId" -> AccountId
"CurrentPerformanceRisk" -> CurrentPerformanceRisk
"CurrentServiceConfigurationAutoScalingConfiguration" -> CurrentServiceConfigurationAutoScalingConfiguration
"CurrentServiceConfigurationCpu" -> CurrentServiceConfigurationCpu
"CurrentServiceConfigurationMemory" -> CurrentServiceConfigurationMemory
"CurrentServiceConfigurationTaskDefinitionArn" -> CurrentServiceConfigurationTaskDefinitionArn
"CurrentServiceContainerConfigurations" -> CurrentServiceContainerConfigurations
"EffectiveRecommendationPreferencesSavingsEstimationMode" -> EffectiveRecommendationPreferencesSavingsEstimationMode
"Finding" -> Finding
"FindingReasonCodes" -> FindingReasonCodes
"LastRefreshTimestamp" -> LastRefreshTimestamp
"LaunchType" -> LaunchType
"LookbackPeriodInDays" -> LookbackPeriodInDays
"RecommendationOptionsContainerRecommendations" -> RecommendationOptionsContainerRecommendations
"RecommendationOptionsCpu" -> RecommendationOptionsCpu
"RecommendationOptionsEstimatedMonthlySavingsCurrency" -> RecommendationOptionsEstimatedMonthlySavingsCurrency
"RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" -> RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts
"RecommendationOptionsEstimatedMonthlySavingsValue" -> RecommendationOptionsEstimatedMonthlySavingsValue
"RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" -> RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts
"RecommendationOptionsMemory" -> RecommendationOptionsMemory
"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" -> RecommendationOptionsProjectedUtilizationMetricsCpuMaximum
"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" -> RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum
"RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" -> RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage
"RecommendationOptionsSavingsOpportunityPercentage" -> RecommendationOptionsSavingsOpportunityPercentage
"ServiceArn" -> ServiceArn
"Tags" -> Tags
"UtilizationMetricsCpuMaximum" -> UtilizationMetricsCpuMaximum
"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,
CurrentPerformanceRisk,
CurrentServiceConfigurationAutoScalingConfiguration,
CurrentServiceConfigurationCpu,
CurrentServiceConfigurationMemory,
CurrentServiceConfigurationTaskDefinitionArn,
CurrentServiceContainerConfigurations,
EffectiveRecommendationPreferencesSavingsEstimationMode,
Finding,
FindingReasonCodes,
LastRefreshTimestamp,
LaunchType,
LookbackPeriodInDays,
RecommendationOptionsContainerRecommendations,
RecommendationOptionsCpu,
RecommendationOptionsEstimatedMonthlySavingsCurrency,
RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts,
RecommendationOptionsEstimatedMonthlySavingsValue,
RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts,
RecommendationOptionsMemory,
RecommendationOptionsProjectedUtilizationMetricsCpuMaximum,
RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum,
RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage,
RecommendationOptionsSavingsOpportunityPercentage,
ServiceArn,
Tags,
UtilizationMetricsCpuMaximum,
UtilizationMetricsMemoryMaximum,
)
}
}