commonMain.aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sagemakergeospatial-jvm Show documentation
Show all versions of sagemakergeospatial-jvm Show documentation
The AWS SDK for Kotlin client for SageMaker Geospatial
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sagemakergeospatial.model
import kotlin.collections.List
public sealed class AlgorithmNameResampling {
public abstract val value: kotlin.String
/**
* AVERAGE
*/
public object Average : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
override val value: kotlin.String = "AVERAGE"
override fun toString(): kotlin.String = "Average"
}
/**
* BILINEAR
*/
public object Bilinear : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
override val value: kotlin.String = "BILINEAR"
override fun toString(): kotlin.String = "Bilinear"
}
/**
* CUBIC
*/
public object Cubic : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
override val value: kotlin.String = "CUBIC"
override fun toString(): kotlin.String = "Cubic"
}
/**
* CUBICSPLINE
*/
public object Cubicspline : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
override val value: kotlin.String = "CUBICSPLINE"
override fun toString(): kotlin.String = "Cubicspline"
}
/**
* LANCZOS
*/
public object Lanczos : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
override val value: kotlin.String = "LANCZOS"
override fun toString(): kotlin.String = "Lanczos"
}
/**
* MAX
*/
public object Max : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
override val value: kotlin.String = "MAX"
override fun toString(): kotlin.String = "Max"
}
/**
* MED
*/
public object Med : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
override val value: kotlin.String = "MED"
override fun toString(): kotlin.String = "Med"
}
/**
* MIN
*/
public object Min : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
override val value: kotlin.String = "MIN"
override fun toString(): kotlin.String = "Min"
}
/**
* MODE
*/
public object Mode : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
override val value: kotlin.String = "MODE"
override fun toString(): kotlin.String = "Mode"
}
/**
* NEAR
*/
public object Near : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
override val value: kotlin.String = "NEAR"
override fun toString(): kotlin.String = "Near"
}
/**
* Q1
*/
public object Q1 : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
override val value: kotlin.String = "Q1"
override fun toString(): kotlin.String = "Q1"
}
/**
* Q3
*/
public object Q3 : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
override val value: kotlin.String = "Q3"
override fun toString(): kotlin.String = "Q3"
}
/**
* RMS
*/
public object Rms : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
override val value: kotlin.String = "RMS"
override fun toString(): kotlin.String = "Rms"
}
/**
* SUM
*/
public object Sum : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
override val value: kotlin.String = "SUM"
override fun toString(): kotlin.String = "Sum"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameResampling() {
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.sagemakergeospatial.model.AlgorithmNameResampling = when (value) {
"AVERAGE" -> Average
"BILINEAR" -> Bilinear
"CUBIC" -> Cubic
"CUBICSPLINE" -> Cubicspline
"LANCZOS" -> Lanczos
"MAX" -> Max
"MED" -> Med
"MIN" -> Min
"MODE" -> Mode
"NEAR" -> Near
"Q1" -> Q1
"Q3" -> Q3
"RMS" -> Rms
"SUM" -> Sum
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Average,
Bilinear,
Cubic,
Cubicspline,
Lanczos,
Max,
Med,
Min,
Mode,
Near,
Q1,
Q3,
Rms,
Sum,
)
}
}