commonMain.aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField.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 ExportableVolumeField {
public abstract val value: kotlin.String
public object AccountId : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "AccountId"
override fun toString(): kotlin.String = "AccountId"
}
public object CurrentConfigurationRootVolume : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "CurrentConfigurationRootVolume"
override fun toString(): kotlin.String = "CurrentConfigurationRootVolume"
}
public object CurrentConfigurationVolumeBaselineIops : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "CurrentConfigurationVolumeBaselineIOPS"
override fun toString(): kotlin.String = "CurrentConfigurationVolumeBaselineIops"
}
public object CurrentConfigurationVolumeBaselineThroughput : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "CurrentConfigurationVolumeBaselineThroughput"
override fun toString(): kotlin.String = "CurrentConfigurationVolumeBaselineThroughput"
}
public object CurrentConfigurationVolumeBurstIops : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "CurrentConfigurationVolumeBurstIOPS"
override fun toString(): kotlin.String = "CurrentConfigurationVolumeBurstIops"
}
public object CurrentConfigurationVolumeBurstThroughput : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "CurrentConfigurationVolumeBurstThroughput"
override fun toString(): kotlin.String = "CurrentConfigurationVolumeBurstThroughput"
}
public object CurrentConfigurationVolumeSize : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "CurrentConfigurationVolumeSize"
override fun toString(): kotlin.String = "CurrentConfigurationVolumeSize"
}
public object CurrentConfigurationVolumeType : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "CurrentConfigurationVolumeType"
override fun toString(): kotlin.String = "CurrentConfigurationVolumeType"
}
public object CurrentMonthlyPrice : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "CurrentMonthlyPrice"
override fun toString(): kotlin.String = "CurrentMonthlyPrice"
}
public object CurrentPerformanceRisk : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "CurrentPerformanceRisk"
override fun toString(): kotlin.String = "CurrentPerformanceRisk"
}
public object EffectiveRecommendationPreferencesSavingsEstimationMode : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "EffectiveRecommendationPreferencesSavingsEstimationMode"
override fun toString(): kotlin.String = "EffectiveRecommendationPreferencesSavingsEstimationMode"
}
public object Finding : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "Finding"
override fun toString(): kotlin.String = "Finding"
}
public object LastRefreshTimestamp : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "LastRefreshTimestamp"
override fun toString(): kotlin.String = "LastRefreshTimestamp"
}
public object LookbackPeriodInDays : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "LookbackPeriodInDays"
override fun toString(): kotlin.String = "LookbackPeriodInDays"
}
public object RecommendationOptionsConfigurationVolumeBaselineIops : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RecommendationOptionsConfigurationVolumeBaselineIOPS"
override fun toString(): kotlin.String = "RecommendationOptionsConfigurationVolumeBaselineIops"
}
public object RecommendationOptionsConfigurationVolumeBaselineThroughput : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RecommendationOptionsConfigurationVolumeBaselineThroughput"
override fun toString(): kotlin.String = "RecommendationOptionsConfigurationVolumeBaselineThroughput"
}
public object RecommendationOptionsConfigurationVolumeBurstIops : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RecommendationOptionsConfigurationVolumeBurstIOPS"
override fun toString(): kotlin.String = "RecommendationOptionsConfigurationVolumeBurstIops"
}
public object RecommendationOptionsConfigurationVolumeBurstThroughput : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RecommendationOptionsConfigurationVolumeBurstThroughput"
override fun toString(): kotlin.String = "RecommendationOptionsConfigurationVolumeBurstThroughput"
}
public object RecommendationOptionsConfigurationVolumeSize : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RecommendationOptionsConfigurationVolumeSize"
override fun toString(): kotlin.String = "RecommendationOptionsConfigurationVolumeSize"
}
public object RecommendationOptionsConfigurationVolumeType : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RecommendationOptionsConfigurationVolumeType"
override fun toString(): kotlin.String = "RecommendationOptionsConfigurationVolumeType"
}
public object RecommendationOptionsEstimatedMonthlySavingsCurrency : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsCurrency"
override fun toString(): kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsCurrency"
}
public object RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts"
override fun toString(): kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts"
}
public object RecommendationOptionsEstimatedMonthlySavingsValue : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsValue"
override fun toString(): kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsValue"
}
public object RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"
override fun toString(): kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"
}
public object RecommendationOptionsMonthlyPrice : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RecommendationOptionsMonthlyPrice"
override fun toString(): kotlin.String = "RecommendationOptionsMonthlyPrice"
}
public object RecommendationOptionsPerformanceRisk : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RecommendationOptionsPerformanceRisk"
override fun toString(): kotlin.String = "RecommendationOptionsPerformanceRisk"
}
public object RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage"
override fun toString(): kotlin.String = "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage"
}
public object RecommendationOptionsSavingsOpportunityPercentage : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RecommendationOptionsSavingsOpportunityPercentage"
override fun toString(): kotlin.String = "RecommendationOptionsSavingsOpportunityPercentage"
}
public object RootVolume : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "RootVolume"
override fun toString(): kotlin.String = "RootVolume"
}
public object Tags : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "Tags"
override fun toString(): kotlin.String = "Tags"
}
public object UtilizationMetricsVolumeReadBytesPerSecondMaximum : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "UtilizationMetricsVolumeReadBytesPerSecondMaximum"
override fun toString(): kotlin.String = "UtilizationMetricsVolumeReadBytesPerSecondMaximum"
}
public object UtilizationMetricsVolumeReadOpsPerSecondMaximum : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "UtilizationMetricsVolumeReadOpsPerSecondMaximum"
override fun toString(): kotlin.String = "UtilizationMetricsVolumeReadOpsPerSecondMaximum"
}
public object UtilizationMetricsVolumeWriteBytesPerSecondMaximum : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "UtilizationMetricsVolumeWriteBytesPerSecondMaximum"
override fun toString(): kotlin.String = "UtilizationMetricsVolumeWriteBytesPerSecondMaximum"
}
public object UtilizationMetricsVolumeWriteOpsPerSecondMaximum : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "UtilizationMetricsVolumeWriteOpsPerSecondMaximum"
override fun toString(): kotlin.String = "UtilizationMetricsVolumeWriteOpsPerSecondMaximum"
}
public object VolumeArn : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
override val value: kotlin.String = "VolumeArn"
override fun toString(): kotlin.String = "VolumeArn"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.computeoptimizer.model.ExportableVolumeField() {
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.ExportableVolumeField = when (value) {
"AccountId" -> AccountId
"CurrentConfigurationRootVolume" -> CurrentConfigurationRootVolume
"CurrentConfigurationVolumeBaselineIOPS" -> CurrentConfigurationVolumeBaselineIops
"CurrentConfigurationVolumeBaselineThroughput" -> CurrentConfigurationVolumeBaselineThroughput
"CurrentConfigurationVolumeBurstIOPS" -> CurrentConfigurationVolumeBurstIops
"CurrentConfigurationVolumeBurstThroughput" -> CurrentConfigurationVolumeBurstThroughput
"CurrentConfigurationVolumeSize" -> CurrentConfigurationVolumeSize
"CurrentConfigurationVolumeType" -> CurrentConfigurationVolumeType
"CurrentMonthlyPrice" -> CurrentMonthlyPrice
"CurrentPerformanceRisk" -> CurrentPerformanceRisk
"EffectiveRecommendationPreferencesSavingsEstimationMode" -> EffectiveRecommendationPreferencesSavingsEstimationMode
"Finding" -> Finding
"LastRefreshTimestamp" -> LastRefreshTimestamp
"LookbackPeriodInDays" -> LookbackPeriodInDays
"RecommendationOptionsConfigurationVolumeBaselineIOPS" -> RecommendationOptionsConfigurationVolumeBaselineIops
"RecommendationOptionsConfigurationVolumeBaselineThroughput" -> RecommendationOptionsConfigurationVolumeBaselineThroughput
"RecommendationOptionsConfigurationVolumeBurstIOPS" -> RecommendationOptionsConfigurationVolumeBurstIops
"RecommendationOptionsConfigurationVolumeBurstThroughput" -> RecommendationOptionsConfigurationVolumeBurstThroughput
"RecommendationOptionsConfigurationVolumeSize" -> RecommendationOptionsConfigurationVolumeSize
"RecommendationOptionsConfigurationVolumeType" -> RecommendationOptionsConfigurationVolumeType
"RecommendationOptionsEstimatedMonthlySavingsCurrency" -> RecommendationOptionsEstimatedMonthlySavingsCurrency
"RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" -> RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts
"RecommendationOptionsEstimatedMonthlySavingsValue" -> RecommendationOptionsEstimatedMonthlySavingsValue
"RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" -> RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts
"RecommendationOptionsMonthlyPrice" -> RecommendationOptionsMonthlyPrice
"RecommendationOptionsPerformanceRisk" -> RecommendationOptionsPerformanceRisk
"RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" -> RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage
"RecommendationOptionsSavingsOpportunityPercentage" -> RecommendationOptionsSavingsOpportunityPercentage
"RootVolume" -> RootVolume
"Tags" -> Tags
"UtilizationMetricsVolumeReadBytesPerSecondMaximum" -> UtilizationMetricsVolumeReadBytesPerSecondMaximum
"UtilizationMetricsVolumeReadOpsPerSecondMaximum" -> UtilizationMetricsVolumeReadOpsPerSecondMaximum
"UtilizationMetricsVolumeWriteBytesPerSecondMaximum" -> UtilizationMetricsVolumeWriteBytesPerSecondMaximum
"UtilizationMetricsVolumeWriteOpsPerSecondMaximum" -> UtilizationMetricsVolumeWriteOpsPerSecondMaximum
"VolumeArn" -> VolumeArn
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,
CurrentConfigurationRootVolume,
CurrentConfigurationVolumeBaselineIops,
CurrentConfigurationVolumeBaselineThroughput,
CurrentConfigurationVolumeBurstIops,
CurrentConfigurationVolumeBurstThroughput,
CurrentConfigurationVolumeSize,
CurrentConfigurationVolumeType,
CurrentMonthlyPrice,
CurrentPerformanceRisk,
EffectiveRecommendationPreferencesSavingsEstimationMode,
Finding,
LastRefreshTimestamp,
LookbackPeriodInDays,
RecommendationOptionsConfigurationVolumeBaselineIops,
RecommendationOptionsConfigurationVolumeBaselineThroughput,
RecommendationOptionsConfigurationVolumeBurstIops,
RecommendationOptionsConfigurationVolumeBurstThroughput,
RecommendationOptionsConfigurationVolumeSize,
RecommendationOptionsConfigurationVolumeType,
RecommendationOptionsEstimatedMonthlySavingsCurrency,
RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts,
RecommendationOptionsEstimatedMonthlySavingsValue,
RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts,
RecommendationOptionsMonthlyPrice,
RecommendationOptionsPerformanceRisk,
RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage,
RecommendationOptionsSavingsOpportunityPercentage,
RootVolume,
Tags,
UtilizationMetricsVolumeReadBytesPerSecondMaximum,
UtilizationMetricsVolumeReadOpsPerSecondMaximum,
UtilizationMetricsVolumeWriteBytesPerSecondMaximum,
UtilizationMetricsVolumeWriteOpsPerSecondMaximum,
VolumeArn,
)
}
}