commonMain.aws.sdk.kotlin.services.datazone.model.DataSourceConfigurationInput.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 DataSourceConfigurationInput {
/**
* The configuration of the Amazon Web Services Glue data source.
*/
public data class GlueRunConfiguration(val value: aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationInput) : aws.sdk.kotlin.services.datazone.model.DataSourceConfigurationInput() {
}
/**
* The configuration of the Amazon Redshift data source.
*/
public data class RedshiftRunConfiguration(val value: aws.sdk.kotlin.services.datazone.model.RedshiftRunConfigurationInput) : aws.sdk.kotlin.services.datazone.model.DataSourceConfigurationInput() {
}
public object SdkUnknown : aws.sdk.kotlin.services.datazone.model.DataSourceConfigurationInput() {
}
/**
* Casts this [DataSourceConfigurationInput] as a [GlueRunConfiguration] and retrieves its [aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationInput] value. Throws an exception if the [DataSourceConfigurationInput] is not a
* [GlueRunConfiguration].
*/
public fun asGlueRunConfiguration(): aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationInput = (this as DataSourceConfigurationInput.GlueRunConfiguration).value
/**
* Casts this [DataSourceConfigurationInput] as a [GlueRunConfiguration] and retrieves its [aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationInput] value. Returns null if the [DataSourceConfigurationInput] is not a [GlueRunConfiguration].
*/
public fun asGlueRunConfigurationOrNull(): aws.sdk.kotlin.services.datazone.model.GlueRunConfigurationInput? = (this as? DataSourceConfigurationInput.GlueRunConfiguration)?.value
/**
* Casts this [DataSourceConfigurationInput] as a [RedshiftRunConfiguration] and retrieves its [aws.sdk.kotlin.services.datazone.model.RedshiftRunConfigurationInput] value. Throws an exception if the [DataSourceConfigurationInput] is not a
* [RedshiftRunConfiguration].
*/
public fun asRedshiftRunConfiguration(): aws.sdk.kotlin.services.datazone.model.RedshiftRunConfigurationInput = (this as DataSourceConfigurationInput.RedshiftRunConfiguration).value
/**
* Casts this [DataSourceConfigurationInput] as a [RedshiftRunConfiguration] and retrieves its [aws.sdk.kotlin.services.datazone.model.RedshiftRunConfigurationInput] value. Returns null if the [DataSourceConfigurationInput] is not a [RedshiftRunConfiguration].
*/
public fun asRedshiftRunConfigurationOrNull(): aws.sdk.kotlin.services.datazone.model.RedshiftRunConfigurationInput? = (this as? DataSourceConfigurationInput.RedshiftRunConfiguration)?.value
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy