@Generated(value="software.amazon.awssdk:codegen") public final class JobDriver extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobDriver.Builder,JobDriver>
The driver that the job runs on.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobDriver.Builder |
static class |
JobDriver.Type |
| Modifier and Type | Method and Description |
|---|---|
static JobDriver.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static JobDriver |
fromHive(Consumer<Hive.Builder> hive)
Create an instance of this class with
hive() initialized to the given value. |
static JobDriver |
fromHive(Hive hive)
Create an instance of this class with
hive() initialized to the given value. |
static JobDriver |
fromSparkSubmit(Consumer<SparkSubmit.Builder> sparkSubmit)
Create an instance of this class with
sparkSubmit() initialized to the given value. |
static JobDriver |
fromSparkSubmit(SparkSubmit sparkSubmit)
Create an instance of this class with
sparkSubmit() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Hive |
hive()
The job driver parameters specified for Hive.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JobDriver.Builder> |
serializableBuilderClass() |
SparkSubmit |
sparkSubmit()
The job driver parameters specified for Spark.
|
JobDriver.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
JobDriver.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SparkSubmit sparkSubmit()
The job driver parameters specified for Spark.
public final Hive hive()
The job driver parameters specified for Hive.
public JobDriver.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JobDriver.Builder,JobDriver>public static JobDriver.Builder builder()
public static Class<? extends JobDriver.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static JobDriver fromSparkSubmit(SparkSubmit sparkSubmit)
sparkSubmit() initialized to the given value.
The job driver parameters specified for Spark.
sparkSubmit - The job driver parameters specified for Spark.public static JobDriver fromSparkSubmit(Consumer<SparkSubmit.Builder> sparkSubmit)
sparkSubmit() initialized to the given value.
The job driver parameters specified for Spark.
sparkSubmit - The job driver parameters specified for Spark.public static JobDriver fromHive(Hive hive)
hive() initialized to the given value.
The job driver parameters specified for Hive.
hive - The job driver parameters specified for Hive.public static JobDriver fromHive(Consumer<Hive.Builder> hive)
hive() initialized to the given value.
The job driver parameters specified for Hive.
hive - The job driver parameters specified for Hive.public JobDriver.Type type()
JobDriver.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be JobDriver.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.