commonMain.aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobDataSourceConfigInput.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sagemakergeospatial-jvm Show documentation
Show all versions of sagemakergeospatial-jvm Show documentation
The AWS SDK for Kotlin client for SageMaker Geospatial
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sagemakergeospatial.model
/**
* The input structure for the data source that represents the storage type of the input data objects.
*/
public sealed class VectorEnrichmentJobDataSourceConfigInput {
/**
* The input structure for the Amazon S3 data that represents the Amazon S3 location of the input data objects.
*/
public data class S3Data(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobS3Data) : aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobDataSourceConfigInput() {
}
public object SdkUnknown : aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobDataSourceConfigInput() {
}
/**
* Casts this [VectorEnrichmentJobDataSourceConfigInput] as a [S3Data] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobS3Data] value. Throws an exception if the [VectorEnrichmentJobDataSourceConfigInput] is not a
* [S3Data].
*/
public fun asS3Data(): aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobS3Data = (this as VectorEnrichmentJobDataSourceConfigInput.S3Data).value
/**
* Casts this [VectorEnrichmentJobDataSourceConfigInput] as a [S3Data] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobS3Data] value. Returns null if the [VectorEnrichmentJobDataSourceConfigInput] is not a [S3Data].
*/
public fun asS3DataOrNull(): aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobS3Data? = (this as? VectorEnrichmentJobDataSourceConfigInput.S3Data)?.value
}