commonMain.aws.sdk.kotlin.services.datazone.model.SelfGrantStatusOutput.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 details for the self granting status for a data source.
*/
public sealed class SelfGrantStatusOutput {
/**
* The details for the self granting status for a Glue data source.
*/
public data class GlueSelfGrantStatus(val value: aws.sdk.kotlin.services.datazone.model.GlueSelfGrantStatusOutput) : aws.sdk.kotlin.services.datazone.model.SelfGrantStatusOutput() {
}
/**
* The details for the self granting status for an Amazon Redshift data source.
*/
public data class RedshiftSelfGrantStatus(val value: aws.sdk.kotlin.services.datazone.model.RedshiftSelfGrantStatusOutput) : aws.sdk.kotlin.services.datazone.model.SelfGrantStatusOutput() {
}
public object SdkUnknown : aws.sdk.kotlin.services.datazone.model.SelfGrantStatusOutput() {
}
/**
* Casts this [SelfGrantStatusOutput] as a [GlueSelfGrantStatus] and retrieves its [aws.sdk.kotlin.services.datazone.model.GlueSelfGrantStatusOutput] value. Throws an exception if the [SelfGrantStatusOutput] is not a
* [GlueSelfGrantStatus].
*/
public fun asGlueSelfGrantStatus(): aws.sdk.kotlin.services.datazone.model.GlueSelfGrantStatusOutput = (this as SelfGrantStatusOutput.GlueSelfGrantStatus).value
/**
* Casts this [SelfGrantStatusOutput] as a [GlueSelfGrantStatus] and retrieves its [aws.sdk.kotlin.services.datazone.model.GlueSelfGrantStatusOutput] value. Returns null if the [SelfGrantStatusOutput] is not a [GlueSelfGrantStatus].
*/
public fun asGlueSelfGrantStatusOrNull(): aws.sdk.kotlin.services.datazone.model.GlueSelfGrantStatusOutput? = (this as? SelfGrantStatusOutput.GlueSelfGrantStatus)?.value
/**
* Casts this [SelfGrantStatusOutput] as a [RedshiftSelfGrantStatus] and retrieves its [aws.sdk.kotlin.services.datazone.model.RedshiftSelfGrantStatusOutput] value. Throws an exception if the [SelfGrantStatusOutput] is not a
* [RedshiftSelfGrantStatus].
*/
public fun asRedshiftSelfGrantStatus(): aws.sdk.kotlin.services.datazone.model.RedshiftSelfGrantStatusOutput = (this as SelfGrantStatusOutput.RedshiftSelfGrantStatus).value
/**
* Casts this [SelfGrantStatusOutput] as a [RedshiftSelfGrantStatus] and retrieves its [aws.sdk.kotlin.services.datazone.model.RedshiftSelfGrantStatusOutput] value. Returns null if the [SelfGrantStatusOutput] is not a [RedshiftSelfGrantStatus].
*/
public fun asRedshiftSelfGrantStatusOrNull(): aws.sdk.kotlin.services.datazone.model.RedshiftSelfGrantStatusOutput? = (this as? SelfGrantStatusOutput.RedshiftSelfGrantStatus)?.value
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy