All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.sagemakergeospatial.model.JobConfigInput.kt Maven / Gradle / Ivy

There is a newer version: 1.3.77
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.sagemakergeospatial.model



/**
 * The input structure for the JobConfig in an EarthObservationJob.
 */
public sealed class JobConfigInput {
    /**
     * An object containing information about the job configuration for BandMath.
     */
    public data class BandMathConfig(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.BandMathConfigInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.JobConfigInput() {
    }

    /**
     * An object containing information about the job configuration for cloud masking.
     */
    public data class CloudMaskingConfig(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.CloudMaskingConfigInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.JobConfigInput() {
    }

    /**
     * An object containing information about the job configuration for cloud removal.
     */
    public data class CloudRemovalConfig(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.CloudRemovalConfigInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.JobConfigInput() {
    }

    /**
     * An object containing information about the job configuration for geomosaic.
     */
    public data class GeoMosaicConfig(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.GeoMosaicConfigInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.JobConfigInput() {
    }

    /**
     * An object containing information about the job configuration for land cover segmentation.
     */
    public data class LandCoverSegmentationConfig(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.LandCoverSegmentationConfigInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.JobConfigInput() {
    }

    /**
     * An object containing information about the job configuration for resampling.
     */
    public data class ResamplingConfig(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.ResamplingConfigInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.JobConfigInput() {
    }

    /**
     * An object containing information about the job configuration for a Stacking Earth Observation job.
     */
    public data class StackConfig(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.StackConfigInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.JobConfigInput() {
    }

    /**
     * An object containing information about the job configuration for temporal statistics.
     */
    public data class TemporalStatisticsConfig(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.TemporalStatisticsConfigInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.JobConfigInput() {
    }

    /**
     * An object containing information about the job configuration for zonal statistics.
     */
    public data class ZonalStatisticsConfig(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.ZonalStatisticsConfigInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.JobConfigInput() {
    }

    public object SdkUnknown : aws.sdk.kotlin.services.sagemakergeospatial.model.JobConfigInput() {
    }

    /**
     * Casts this [JobConfigInput] as a [BandMathConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.BandMathConfigInput] value. Throws an exception if the [JobConfigInput] is not a
     * [BandMathConfig].
     */
    public fun asBandMathConfig(): aws.sdk.kotlin.services.sagemakergeospatial.model.BandMathConfigInput = (this as JobConfigInput.BandMathConfig).value

    /**
     * Casts this [JobConfigInput] as a [BandMathConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.BandMathConfigInput] value. Returns null if the [JobConfigInput] is not a [BandMathConfig].
     */
    public fun asBandMathConfigOrNull(): aws.sdk.kotlin.services.sagemakergeospatial.model.BandMathConfigInput? = (this as? JobConfigInput.BandMathConfig)?.value

    /**
     * Casts this [JobConfigInput] as a [CloudMaskingConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.CloudMaskingConfigInput] value. Throws an exception if the [JobConfigInput] is not a
     * [CloudMaskingConfig].
     */
    public fun asCloudMaskingConfig(): aws.sdk.kotlin.services.sagemakergeospatial.model.CloudMaskingConfigInput = (this as JobConfigInput.CloudMaskingConfig).value

    /**
     * Casts this [JobConfigInput] as a [CloudMaskingConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.CloudMaskingConfigInput] value. Returns null if the [JobConfigInput] is not a [CloudMaskingConfig].
     */
    public fun asCloudMaskingConfigOrNull(): aws.sdk.kotlin.services.sagemakergeospatial.model.CloudMaskingConfigInput? = (this as? JobConfigInput.CloudMaskingConfig)?.value

    /**
     * Casts this [JobConfigInput] as a [CloudRemovalConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.CloudRemovalConfigInput] value. Throws an exception if the [JobConfigInput] is not a
     * [CloudRemovalConfig].
     */
    public fun asCloudRemovalConfig(): aws.sdk.kotlin.services.sagemakergeospatial.model.CloudRemovalConfigInput = (this as JobConfigInput.CloudRemovalConfig).value

    /**
     * Casts this [JobConfigInput] as a [CloudRemovalConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.CloudRemovalConfigInput] value. Returns null if the [JobConfigInput] is not a [CloudRemovalConfig].
     */
    public fun asCloudRemovalConfigOrNull(): aws.sdk.kotlin.services.sagemakergeospatial.model.CloudRemovalConfigInput? = (this as? JobConfigInput.CloudRemovalConfig)?.value

    /**
     * Casts this [JobConfigInput] as a [GeoMosaicConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.GeoMosaicConfigInput] value. Throws an exception if the [JobConfigInput] is not a
     * [GeoMosaicConfig].
     */
    public fun asGeoMosaicConfig(): aws.sdk.kotlin.services.sagemakergeospatial.model.GeoMosaicConfigInput = (this as JobConfigInput.GeoMosaicConfig).value

    /**
     * Casts this [JobConfigInput] as a [GeoMosaicConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.GeoMosaicConfigInput] value. Returns null if the [JobConfigInput] is not a [GeoMosaicConfig].
     */
    public fun asGeoMosaicConfigOrNull(): aws.sdk.kotlin.services.sagemakergeospatial.model.GeoMosaicConfigInput? = (this as? JobConfigInput.GeoMosaicConfig)?.value

    /**
     * Casts this [JobConfigInput] as a [LandCoverSegmentationConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.LandCoverSegmentationConfigInput] value. Throws an exception if the [JobConfigInput] is not a
     * [LandCoverSegmentationConfig].
     */
    public fun asLandCoverSegmentationConfig(): aws.sdk.kotlin.services.sagemakergeospatial.model.LandCoverSegmentationConfigInput = (this as JobConfigInput.LandCoverSegmentationConfig).value

    /**
     * Casts this [JobConfigInput] as a [LandCoverSegmentationConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.LandCoverSegmentationConfigInput] value. Returns null if the [JobConfigInput] is not a [LandCoverSegmentationConfig].
     */
    public fun asLandCoverSegmentationConfigOrNull(): aws.sdk.kotlin.services.sagemakergeospatial.model.LandCoverSegmentationConfigInput? = (this as? JobConfigInput.LandCoverSegmentationConfig)?.value

    /**
     * Casts this [JobConfigInput] as a [ResamplingConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.ResamplingConfigInput] value. Throws an exception if the [JobConfigInput] is not a
     * [ResamplingConfig].
     */
    public fun asResamplingConfig(): aws.sdk.kotlin.services.sagemakergeospatial.model.ResamplingConfigInput = (this as JobConfigInput.ResamplingConfig).value

    /**
     * Casts this [JobConfigInput] as a [ResamplingConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.ResamplingConfigInput] value. Returns null if the [JobConfigInput] is not a [ResamplingConfig].
     */
    public fun asResamplingConfigOrNull(): aws.sdk.kotlin.services.sagemakergeospatial.model.ResamplingConfigInput? = (this as? JobConfigInput.ResamplingConfig)?.value

    /**
     * Casts this [JobConfigInput] as a [StackConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.StackConfigInput] value. Throws an exception if the [JobConfigInput] is not a
     * [StackConfig].
     */
    public fun asStackConfig(): aws.sdk.kotlin.services.sagemakergeospatial.model.StackConfigInput = (this as JobConfigInput.StackConfig).value

    /**
     * Casts this [JobConfigInput] as a [StackConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.StackConfigInput] value. Returns null if the [JobConfigInput] is not a [StackConfig].
     */
    public fun asStackConfigOrNull(): aws.sdk.kotlin.services.sagemakergeospatial.model.StackConfigInput? = (this as? JobConfigInput.StackConfig)?.value

    /**
     * Casts this [JobConfigInput] as a [TemporalStatisticsConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.TemporalStatisticsConfigInput] value. Throws an exception if the [JobConfigInput] is not a
     * [TemporalStatisticsConfig].
     */
    public fun asTemporalStatisticsConfig(): aws.sdk.kotlin.services.sagemakergeospatial.model.TemporalStatisticsConfigInput = (this as JobConfigInput.TemporalStatisticsConfig).value

    /**
     * Casts this [JobConfigInput] as a [TemporalStatisticsConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.TemporalStatisticsConfigInput] value. Returns null if the [JobConfigInput] is not a [TemporalStatisticsConfig].
     */
    public fun asTemporalStatisticsConfigOrNull(): aws.sdk.kotlin.services.sagemakergeospatial.model.TemporalStatisticsConfigInput? = (this as? JobConfigInput.TemporalStatisticsConfig)?.value

    /**
     * Casts this [JobConfigInput] as a [ZonalStatisticsConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.ZonalStatisticsConfigInput] value. Throws an exception if the [JobConfigInput] is not a
     * [ZonalStatisticsConfig].
     */
    public fun asZonalStatisticsConfig(): aws.sdk.kotlin.services.sagemakergeospatial.model.ZonalStatisticsConfigInput = (this as JobConfigInput.ZonalStatisticsConfig).value

    /**
     * Casts this [JobConfigInput] as a [ZonalStatisticsConfig] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.ZonalStatisticsConfigInput] value. Returns null if the [JobConfigInput] is not a [ZonalStatisticsConfig].
     */
    public fun asZonalStatisticsConfigOrNull(): aws.sdk.kotlin.services.sagemakergeospatial.model.ZonalStatisticsConfigInput? = (this as? JobConfigInput.ZonalStatisticsConfig)?.value
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy