@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobDriver extends Object implements Serializable, Cloneable, StructuredPojo
Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either sparkSqlJobDriver or sparkSubmitJobDriver.
Constructor and Description |
---|
JobDriver() |
Modifier and Type | Method and Description |
---|---|
JobDriver |
clone() |
boolean |
equals(Object obj) |
SparkSqlJobDriver |
getSparkSqlJobDriver()
The job driver for job type.
|
SparkSubmitJobDriver |
getSparkSubmitJobDriver()
The job driver parameters specified for spark submit.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSparkSqlJobDriver(SparkSqlJobDriver sparkSqlJobDriver)
The job driver for job type.
|
void |
setSparkSubmitJobDriver(SparkSubmitJobDriver sparkSubmitJobDriver)
The job driver parameters specified for spark submit.
|
String |
toString()
Returns a string representation of this object.
|
JobDriver |
withSparkSqlJobDriver(SparkSqlJobDriver sparkSqlJobDriver)
The job driver for job type.
|
JobDriver |
withSparkSubmitJobDriver(SparkSubmitJobDriver sparkSubmitJobDriver)
The job driver parameters specified for spark submit.
|
public void setSparkSubmitJobDriver(SparkSubmitJobDriver sparkSubmitJobDriver)
The job driver parameters specified for spark submit.
sparkSubmitJobDriver
- The job driver parameters specified for spark submit.public SparkSubmitJobDriver getSparkSubmitJobDriver()
The job driver parameters specified for spark submit.
public JobDriver withSparkSubmitJobDriver(SparkSubmitJobDriver sparkSubmitJobDriver)
The job driver parameters specified for spark submit.
sparkSubmitJobDriver
- The job driver parameters specified for spark submit.public void setSparkSqlJobDriver(SparkSqlJobDriver sparkSqlJobDriver)
The job driver for job type.
sparkSqlJobDriver
- The job driver for job type.public SparkSqlJobDriver getSparkSqlJobDriver()
The job driver for job type.
public JobDriver withSparkSqlJobDriver(SparkSqlJobDriver sparkSqlJobDriver)
The job driver for job type.
sparkSqlJobDriver
- The job driver for job type.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.