commonMain.aws.sdk.kotlin.services.appstream.model.FleetAttribute.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appstream-jvm Show documentation
Show all versions of appstream-jvm Show documentation
The AWS SDK for Kotlin client for AppStream
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.appstream.model
import kotlin.collections.List
/**
* The fleet attribute.
*/
sealed class FleetAttribute {
abstract val value: kotlin.String
object DomainJoinInfo : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
override val value: kotlin.String = "DOMAIN_JOIN_INFO"
override fun toString(): kotlin.String = value
}
object IamRoleArn : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
override val value: kotlin.String = "IAM_ROLE_ARN"
override fun toString(): kotlin.String = value
}
object SessionScriptS3Location : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
override val value: kotlin.String = "SESSION_SCRIPT_S3_LOCATION"
override fun toString(): kotlin.String = value
}
object UsbDeviceFilterStrings : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
override val value: kotlin.String = "USB_DEVICE_FILTER_STRINGS"
override fun toString(): kotlin.String = value
}
object VpcConfiguration : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
override val value: kotlin.String = "VPC_CONFIGURATION"
override fun toString(): kotlin.String = value
}
object VpcConfigurationSecurityGroupIds : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
override val value: kotlin.String = "VPC_CONFIGURATION_SECURITY_GROUP_IDS"
override fun toString(): kotlin.String = value
}
data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
override fun toString(): kotlin.String = value
}
companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.appstream.model.FleetAttribute = when(str) {
"DOMAIN_JOIN_INFO" -> DomainJoinInfo
"IAM_ROLE_ARN" -> IamRoleArn
"SESSION_SCRIPT_S3_LOCATION" -> SessionScriptS3Location
"USB_DEVICE_FILTER_STRINGS" -> UsbDeviceFilterStrings
"VPC_CONFIGURATION" -> VpcConfiguration
"VPC_CONFIGURATION_SECURITY_GROUP_IDS" -> VpcConfigurationSecurityGroupIds
else -> SdkUnknown(str)
}
/**
* Get a list of all possible variants
*/
fun values(): kotlin.collections.List = listOf(
DomainJoinInfo,
IamRoleArn,
SessionScriptS3Location,
UsbDeviceFilterStrings,
VpcConfiguration,
VpcConfigurationSecurityGroupIds
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy