commonMain.aws.sdk.kotlin.services.appconfig.model.ActionPoint.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appconfig-jvm Show documentation
Show all versions of appconfig-jvm Show documentation
The AWS SDK for Kotlin client for AppConfig
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.appconfig.model
import kotlin.collections.List
public sealed class ActionPoint {
public abstract val value: kotlin.String
public object AtDeploymentTick : aws.sdk.kotlin.services.appconfig.model.ActionPoint() {
override val value: kotlin.String = "AT_DEPLOYMENT_TICK"
override fun toString(): kotlin.String = "AtDeploymentTick"
}
public object OnDeploymentBaking : aws.sdk.kotlin.services.appconfig.model.ActionPoint() {
override val value: kotlin.String = "ON_DEPLOYMENT_BAKING"
override fun toString(): kotlin.String = "OnDeploymentBaking"
}
public object OnDeploymentComplete : aws.sdk.kotlin.services.appconfig.model.ActionPoint() {
override val value: kotlin.String = "ON_DEPLOYMENT_COMPLETE"
override fun toString(): kotlin.String = "OnDeploymentComplete"
}
public object OnDeploymentRolledBack : aws.sdk.kotlin.services.appconfig.model.ActionPoint() {
override val value: kotlin.String = "ON_DEPLOYMENT_ROLLED_BACK"
override fun toString(): kotlin.String = "OnDeploymentRolledBack"
}
public object OnDeploymentStart : aws.sdk.kotlin.services.appconfig.model.ActionPoint() {
override val value: kotlin.String = "ON_DEPLOYMENT_START"
override fun toString(): kotlin.String = "OnDeploymentStart"
}
public object OnDeploymentStep : aws.sdk.kotlin.services.appconfig.model.ActionPoint() {
override val value: kotlin.String = "ON_DEPLOYMENT_STEP"
override fun toString(): kotlin.String = "OnDeploymentStep"
}
public object PreCreateHostedConfigurationVersion : aws.sdk.kotlin.services.appconfig.model.ActionPoint() {
override val value: kotlin.String = "PRE_CREATE_HOSTED_CONFIGURATION_VERSION"
override fun toString(): kotlin.String = "PreCreateHostedConfigurationVersion"
}
public object PreStartDeployment : aws.sdk.kotlin.services.appconfig.model.ActionPoint() {
override val value: kotlin.String = "PRE_START_DEPLOYMENT"
override fun toString(): kotlin.String = "PreStartDeployment"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.appconfig.model.ActionPoint() {
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.appconfig.model.ActionPoint = when (value) {
"AT_DEPLOYMENT_TICK" -> AtDeploymentTick
"ON_DEPLOYMENT_BAKING" -> OnDeploymentBaking
"ON_DEPLOYMENT_COMPLETE" -> OnDeploymentComplete
"ON_DEPLOYMENT_ROLLED_BACK" -> OnDeploymentRolledBack
"ON_DEPLOYMENT_START" -> OnDeploymentStart
"ON_DEPLOYMENT_STEP" -> OnDeploymentStep
"PRE_CREATE_HOSTED_CONFIGURATION_VERSION" -> PreCreateHostedConfigurationVersion
"PRE_START_DEPLOYMENT" -> PreStartDeployment
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
AtDeploymentTick,
OnDeploymentBaking,
OnDeploymentComplete,
OnDeploymentRolledBack,
OnDeploymentStart,
OnDeploymentStep,
PreCreateHostedConfigurationVersion,
PreStartDeployment,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy