All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.appstream.model.FleetAttribute.kt Maven / Gradle / Ivy

There is a newer version: 1.3.99
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.appstream.model

import kotlin.collections.List

/**
 * The fleet attribute.
 */
public sealed class FleetAttribute {
    public abstract val value: kotlin.String

    public object DomainJoinInfo : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
        override val value: kotlin.String = "DOMAIN_JOIN_INFO"
        override fun toString(): kotlin.String = "DomainJoinInfo"
    }

    public object IamRoleArn : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
        override val value: kotlin.String = "IAM_ROLE_ARN"
        override fun toString(): kotlin.String = "IamRoleArn"
    }

    public object MaxSessionsPerInstance : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
        override val value: kotlin.String = "MAX_SESSIONS_PER_INSTANCE"
        override fun toString(): kotlin.String = "MaxSessionsPerInstance"
    }

    public object SessionScriptS3Location : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
        override val value: kotlin.String = "SESSION_SCRIPT_S3_LOCATION"
        override fun toString(): kotlin.String = "SessionScriptS3Location"
    }

    public object UsbDeviceFilterStrings : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
        override val value: kotlin.String = "USB_DEVICE_FILTER_STRINGS"
        override fun toString(): kotlin.String = "UsbDeviceFilterStrings"
    }

    public object VpcConfiguration : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
        override val value: kotlin.String = "VPC_CONFIGURATION"
        override fun toString(): kotlin.String = "VpcConfiguration"
    }

    public object VpcConfigurationSecurityGroupIds : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
        override val value: kotlin.String = "VPC_CONFIGURATION_SECURITY_GROUP_IDS"
        override fun toString(): kotlin.String = "VpcConfigurationSecurityGroupIds"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.appstream.model.FleetAttribute() {
        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.appstream.model.FleetAttribute = when (value) {
            "DOMAIN_JOIN_INFO" -> DomainJoinInfo
            "IAM_ROLE_ARN" -> IamRoleArn
            "MAX_SESSIONS_PER_INSTANCE" -> MaxSessionsPerInstance
            "SESSION_SCRIPT_S3_LOCATION" -> SessionScriptS3Location
            "USB_DEVICE_FILTER_STRINGS" -> UsbDeviceFilterStrings
            "VPC_CONFIGURATION" -> VpcConfiguration
            "VPC_CONFIGURATION_SECURITY_GROUP_IDS" -> VpcConfigurationSecurityGroupIds
            else -> SdkUnknown(value)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = values

        private val values: kotlin.collections.List = listOf(
            DomainJoinInfo,
            IamRoleArn,
            MaxSessionsPerInstance,
            SessionScriptS3Location,
            UsbDeviceFilterStrings,
            VpcConfiguration,
            VpcConfigurationSecurityGroupIds,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy