commonMain.aws.sdk.kotlin.services.databasemigrationservice.model.ErrorDetails.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of databasemigrationservice-jvm Show documentation
Show all versions of databasemigrationservice-jvm Show documentation
The AWS SDK for Kotlin client for Database Migration Service
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.databasemigrationservice.model
/**
* Provides error information about a project.
*/
public sealed class ErrorDetails {
/**
* Error information about a project.
*/
public data class DefaultErrorDetails(val value: aws.sdk.kotlin.services.databasemigrationservice.model.DefaultErrorDetails) : aws.sdk.kotlin.services.databasemigrationservice.model.ErrorDetails() {
}
public object SdkUnknown : aws.sdk.kotlin.services.databasemigrationservice.model.ErrorDetails() {
}
/**
* Casts this [ErrorDetails] as a [DefaultErrorDetails] and retrieves its [aws.sdk.kotlin.services.databasemigrationservice.model.DefaultErrorDetails] value. Throws an exception if the [ErrorDetails] is not a
* [DefaultErrorDetails].
*/
public fun asDefaultErrorDetails(): aws.sdk.kotlin.services.databasemigrationservice.model.DefaultErrorDetails = (this as ErrorDetails.DefaultErrorDetails).value
/**
* Casts this [ErrorDetails] as a [DefaultErrorDetails] and retrieves its [aws.sdk.kotlin.services.databasemigrationservice.model.DefaultErrorDetails] value. Returns null if the [ErrorDetails] is not a [DefaultErrorDetails].
*/
public fun asDefaultErrorDetailsOrNull(): aws.sdk.kotlin.services.databasemigrationservice.model.DefaultErrorDetails? = (this as? ErrorDetails.DefaultErrorDetails)?.value
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy