Class JobDriver
- java.lang.Object
-
- software.amazon.awssdk.services.emrserverless.model.JobDriver
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JobDriver.Builder,JobDriver>
@Generated("software.amazon.awssdk:codegen") public final class JobDriver extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobDriver.Builder,JobDriver>
The driver that the job runs on.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJobDriver.Builderstatic classJobDriver.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobDriver.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static JobDriverfromHive(Consumer<Hive.Builder> hive)Create an instance of this class withhive()initialized to the given value.static JobDriverfromHive(Hive hive)Create an instance of this class withhive()initialized to the given value.static JobDriverfromSparkSubmit(Consumer<SparkSubmit.Builder> sparkSubmit)Create an instance of this class withsparkSubmit()initialized to the given value.static JobDriverfromSparkSubmit(SparkSubmit sparkSubmit)Create an instance of this class withsparkSubmit()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Hivehive()The job driver parameters specified for Hive.List<SdkField<?>>sdkFields()static Class<? extends JobDriver.Builder>serializableBuilderClass()SparkSubmitsparkSubmit()The job driver parameters specified for Spark.JobDriver.BuildertoBuilder()StringtoString()Returns a string representation of this object.JobDriver.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sparkSubmit
public final SparkSubmit sparkSubmit()
The job driver parameters specified for Spark.
- Returns:
- The job driver parameters specified for Spark.
-
hive
public final Hive hive()
The job driver parameters specified for Hive.
- Returns:
- The job driver parameters specified for Hive.
-
toBuilder
public JobDriver.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JobDriver.Builder,JobDriver>
-
builder
public static JobDriver.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobDriver.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromSparkSubmit
public static JobDriver fromSparkSubmit(SparkSubmit sparkSubmit)
Create an instance of this class withsparkSubmit()initialized to the given value.The job driver parameters specified for Spark.
- Parameters:
sparkSubmit- The job driver parameters specified for Spark.
-
fromSparkSubmit
public static JobDriver fromSparkSubmit(Consumer<SparkSubmit.Builder> sparkSubmit)
Create an instance of this class withsparkSubmit()initialized to the given value.The job driver parameters specified for Spark.
- Parameters:
sparkSubmit- The job driver parameters specified for Spark.
-
fromHive
public static JobDriver fromHive(Hive hive)
Create an instance of this class withhive()initialized to the given value.The job driver parameters specified for Hive.
- Parameters:
hive- The job driver parameters specified for Hive.
-
fromHive
public static JobDriver fromHive(Consumer<Hive.Builder> hive)
Create an instance of this class withhive()initialized to the given value.The job driver parameters specified for Hive.
- Parameters:
hive- The job driver parameters specified for Hive.
-
type
public JobDriver.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beJobDriver.Type.UNKNOWN_TO_SDK_VERSIONif 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 beJobDriver.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-