commonMain.aws.sdk.kotlin.services.finspace.model.DnsStatus.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finspace-jvm Show documentation
Show all versions of finspace-jvm Show documentation
The AWS SDK for Kotlin client for finspace
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.finspace.model
import kotlin.collections.List
public sealed class DnsStatus {
public abstract val value: kotlin.String
public object FailedUpdate : aws.sdk.kotlin.services.finspace.model.DnsStatus() {
override val value: kotlin.String = "FAILED_UPDATE"
override fun toString(): kotlin.String = "FailedUpdate"
}
public object None : aws.sdk.kotlin.services.finspace.model.DnsStatus() {
override val value: kotlin.String = "NONE"
override fun toString(): kotlin.String = "None"
}
public object SuccessfullyUpdated : aws.sdk.kotlin.services.finspace.model.DnsStatus() {
override val value: kotlin.String = "SUCCESSFULLY_UPDATED"
override fun toString(): kotlin.String = "SuccessfullyUpdated"
}
public object UpdateRequested : aws.sdk.kotlin.services.finspace.model.DnsStatus() {
override val value: kotlin.String = "UPDATE_REQUESTED"
override fun toString(): kotlin.String = "UpdateRequested"
}
public object Updating : aws.sdk.kotlin.services.finspace.model.DnsStatus() {
override val value: kotlin.String = "UPDATING"
override fun toString(): kotlin.String = "Updating"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.finspace.model.DnsStatus() {
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.finspace.model.DnsStatus = when (value) {
"FAILED_UPDATE" -> FailedUpdate
"NONE" -> None
"SUCCESSFULLY_UPDATED" -> SuccessfullyUpdated
"UPDATE_REQUESTED" -> UpdateRequested
"UPDATING" -> Updating
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
FailedUpdate,
None,
SuccessfullyUpdated,
UpdateRequested,
Updating,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy