JobDriver

sealed class JobDriver

The driver that the job runs on.

Inheritors

Types

Link copied to clipboard
data class Hive(val value: Hive) : JobDriver

The job driver parameters specified for Hive.

Link copied to clipboard
Link copied to clipboard
data class SparkSubmit(val value: SparkSubmit) : JobDriver

The job driver parameters specified for Spark.

Functions

Link copied to clipboard
fun asHive(): Hive

Casts this JobDriver as a Hive and retrieves its aws.sdk.kotlin.services.emrserverless.model.Hive value. Throws an exception if the JobDriver is not a Hive.

Link copied to clipboard

Casts this JobDriver as a Hive and retrieves its aws.sdk.kotlin.services.emrserverless.model.Hive value. Returns null if the JobDriver is not a Hive.

Link copied to clipboard

Casts this JobDriver as a SparkSubmit and retrieves its aws.sdk.kotlin.services.emrserverless.model.SparkSubmit value. Throws an exception if the JobDriver is not a SparkSubmit.

Link copied to clipboard

Casts this JobDriver as a SparkSubmit and retrieves its aws.sdk.kotlin.services.emrserverless.model.SparkSubmit value. Returns null if the JobDriver is not a SparkSubmit.