commonMain.aws.sdk.kotlin.services.datazone.model.DataSourceConfigurationOutput.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datazone-jvm Show documentation
Show all versions of datazone-jvm Show documentation
The AWS SDK for Kotlin client for DataZone
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.datazone.model
/**
* The configuration of the data source.
*/
public sealed class DataSourceConfigurationOutput {
/**
* The configuration of the Amazon Web Services Glue data source.
*/
public data class GlueRunConfiguration(val value: aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationOutput) : aws.sdk.kotlin.services.datazone.model.DataSourceConfigurationOutput() {
}
/**
* The configuration of the Amazon Redshift data source.
*/
public data class RedshiftRunConfiguration(val value: aws.sdk.kotlin.services.datazone.model.RedshiftRunConfigurationOutput) : aws.sdk.kotlin.services.datazone.model.DataSourceConfigurationOutput() {
}
public object SdkUnknown : aws.sdk.kotlin.services.datazone.model.DataSourceConfigurationOutput() {
}
/**
* Casts this [DataSourceConfigurationOutput] as a [GlueRunConfiguration] and retrieves its [aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationOutput] value. Throws an exception if the [DataSourceConfigurationOutput] is not a
* [GlueRunConfiguration].
*/
public fun asGlueRunConfiguration(): aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationOutput = (this as DataSourceConfigurationOutput.GlueRunConfiguration).value
/**
* Casts this [DataSourceConfigurationOutput] as a [GlueRunConfiguration] and retrieves its [aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationOutput] value. Returns null if the [DataSourceConfigurationOutput] is not a [GlueRunConfiguration].
*/
public fun asGlueRunConfigurationOrNull(): aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationOutput? = (this as? DataSourceConfigurationOutput.GlueRunConfiguration)?.value
/**
* Casts this [DataSourceConfigurationOutput] as a [RedshiftRunConfiguration] and retrieves its [aws.sdk.kotlin.services.datazone.model.RedshiftRunConfigurationOutput] value. Throws an exception if the [DataSourceConfigurationOutput] is not a
* [RedshiftRunConfiguration].
*/
public fun asRedshiftRunConfiguration(): aws.sdk.kotlin.services.datazone.model.RedshiftRunConfigurationOutput = (this as DataSourceConfigurationOutput.RedshiftRunConfiguration).value
/**
* Casts this [DataSourceConfigurationOutput] as a [RedshiftRunConfiguration] and retrieves its [aws.sdk.kotlin.services.datazone.model.RedshiftRunConfigurationOutput] value. Returns null if the [DataSourceConfigurationOutput] is not a [RedshiftRunConfiguration].
*/
public fun asRedshiftRunConfigurationOrNull(): aws.sdk.kotlin.services.datazone.model.RedshiftRunConfigurationOutput? = (this as? DataSourceConfigurationOutput.RedshiftRunConfiguration)?.value
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy