Class JobDriver
- java.lang.Object
-
- software.amazon.awssdk.services.emrcontainers.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>
Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either sparkSqlJobDriver or sparkSubmitJobDriver.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJobDriver.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobDriver.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends JobDriver.Builder>serializableBuilderClass()SparkSqlJobDriversparkSqlJobDriver()The job driver for job type.SparkSubmitJobDriversparkSubmitJobDriver()The job driver parameters specified for spark submit.JobDriver.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
sparkSubmitJobDriver
public final SparkSubmitJobDriver sparkSubmitJobDriver()
The job driver parameters specified for spark submit.
- Returns:
- The job driver parameters specified for spark submit.
-
sparkSqlJobDriver
public final SparkSqlJobDriver sparkSqlJobDriver()
The job driver for job type.
- Returns:
- The job driver for job type.
-
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.
-
-