commonMain.aws.sdk.kotlin.services.nimble.model.StudioComponentConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nimble-jvm Show documentation
Show all versions of nimble-jvm Show documentation
The AWS SDK for Kotlin client for nimble
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.nimble.model
/**
* The configuration of the studio component, based on component type.
*/
public sealed class StudioComponentConfiguration {
/**
* The configuration for a Directory Service for Microsoft Active Directory studio resource.
*/
public data class ActiveDirectoryConfiguration(val value: aws.sdk.kotlin.services.nimble.model.ActiveDirectoryConfiguration) : aws.sdk.kotlin.services.nimble.model.StudioComponentConfiguration() {
}
/**
* The configuration for a render farm that is associated with a studio resource.
*/
public data class ComputeFarmConfiguration(val value: aws.sdk.kotlin.services.nimble.model.ComputeFarmConfiguration) : aws.sdk.kotlin.services.nimble.model.StudioComponentConfiguration() {
}
/**
* The configuration for a license service that is associated with a studio resource.
*/
public data class LicenseServiceConfiguration(val value: aws.sdk.kotlin.services.nimble.model.LicenseServiceConfiguration) : aws.sdk.kotlin.services.nimble.model.StudioComponentConfiguration() {
}
/**
* The configuration for a shared file storage system that is associated with a studio resource.
*/
public data class SharedFileSystemConfiguration(val value: aws.sdk.kotlin.services.nimble.model.SharedFileSystemConfiguration) : aws.sdk.kotlin.services.nimble.model.StudioComponentConfiguration() {
}
public object SdkUnknown : aws.sdk.kotlin.services.nimble.model.StudioComponentConfiguration() {
}
/**
* Casts this [StudioComponentConfiguration] as a [ActiveDirectoryConfiguration] and retrieves its [aws.sdk.kotlin.services.nimble.model.ActiveDirectoryConfiguration] value. Throws an exception if the [StudioComponentConfiguration] is not a
* [ActiveDirectoryConfiguration].
*/
public fun asActiveDirectoryConfiguration(): aws.sdk.kotlin.services.nimble.model.ActiveDirectoryConfiguration = (this as StudioComponentConfiguration.ActiveDirectoryConfiguration).value
/**
* Casts this [StudioComponentConfiguration] as a [ActiveDirectoryConfiguration] and retrieves its [aws.sdk.kotlin.services.nimble.model.ActiveDirectoryConfiguration] value. Returns null if the [StudioComponentConfiguration] is not a [ActiveDirectoryConfiguration].
*/
public fun asActiveDirectoryConfigurationOrNull(): aws.sdk.kotlin.services.nimble.model.ActiveDirectoryConfiguration? = (this as? StudioComponentConfiguration.ActiveDirectoryConfiguration)?.value
/**
* Casts this [StudioComponentConfiguration] as a [ComputeFarmConfiguration] and retrieves its [aws.sdk.kotlin.services.nimble.model.ComputeFarmConfiguration] value. Throws an exception if the [StudioComponentConfiguration] is not a
* [ComputeFarmConfiguration].
*/
public fun asComputeFarmConfiguration(): aws.sdk.kotlin.services.nimble.model.ComputeFarmConfiguration = (this as StudioComponentConfiguration.ComputeFarmConfiguration).value
/**
* Casts this [StudioComponentConfiguration] as a [ComputeFarmConfiguration] and retrieves its [aws.sdk.kotlin.services.nimble.model.ComputeFarmConfiguration] value. Returns null if the [StudioComponentConfiguration] is not a [ComputeFarmConfiguration].
*/
public fun asComputeFarmConfigurationOrNull(): aws.sdk.kotlin.services.nimble.model.ComputeFarmConfiguration? = (this as? StudioComponentConfiguration.ComputeFarmConfiguration)?.value
/**
* Casts this [StudioComponentConfiguration] as a [LicenseServiceConfiguration] and retrieves its [aws.sdk.kotlin.services.nimble.model.LicenseServiceConfiguration] value. Throws an exception if the [StudioComponentConfiguration] is not a
* [LicenseServiceConfiguration].
*/
public fun asLicenseServiceConfiguration(): aws.sdk.kotlin.services.nimble.model.LicenseServiceConfiguration = (this as StudioComponentConfiguration.LicenseServiceConfiguration).value
/**
* Casts this [StudioComponentConfiguration] as a [LicenseServiceConfiguration] and retrieves its [aws.sdk.kotlin.services.nimble.model.LicenseServiceConfiguration] value. Returns null if the [StudioComponentConfiguration] is not a [LicenseServiceConfiguration].
*/
public fun asLicenseServiceConfigurationOrNull(): aws.sdk.kotlin.services.nimble.model.LicenseServiceConfiguration? = (this as? StudioComponentConfiguration.LicenseServiceConfiguration)?.value
/**
* Casts this [StudioComponentConfiguration] as a [SharedFileSystemConfiguration] and retrieves its [aws.sdk.kotlin.services.nimble.model.SharedFileSystemConfiguration] value. Throws an exception if the [StudioComponentConfiguration] is not a
* [SharedFileSystemConfiguration].
*/
public fun asSharedFileSystemConfiguration(): aws.sdk.kotlin.services.nimble.model.SharedFileSystemConfiguration = (this as StudioComponentConfiguration.SharedFileSystemConfiguration).value
/**
* Casts this [StudioComponentConfiguration] as a [SharedFileSystemConfiguration] and retrieves its [aws.sdk.kotlin.services.nimble.model.SharedFileSystemConfiguration] value. Returns null if the [StudioComponentConfiguration] is not a [SharedFileSystemConfiguration].
*/
public fun asSharedFileSystemConfigurationOrNull(): aws.sdk.kotlin.services.nimble.model.SharedFileSystemConfiguration? = (this as? StudioComponentConfiguration.SharedFileSystemConfiguration)?.value
}