Struct aws_sdk_emrcontainers::types::JobDriver
source · #[non_exhaustive]pub struct JobDriver {
pub spark_submit_job_driver: Option<SparkSubmitJobDriver>,
pub spark_sql_job_driver: Option<SparkSqlJobDriver>,
}Expand description
Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either sparkSqlJobDriver or sparkSubmitJobDriver.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.spark_submit_job_driver: Option<SparkSubmitJobDriver>The job driver parameters specified for spark submit.
spark_sql_job_driver: Option<SparkSqlJobDriver>The job driver for job type.
Implementations§
source§impl JobDriver
impl JobDriver
sourcepub fn spark_submit_job_driver(&self) -> Option<&SparkSubmitJobDriver>
pub fn spark_submit_job_driver(&self) -> Option<&SparkSubmitJobDriver>
The job driver parameters specified for spark submit.
sourcepub fn spark_sql_job_driver(&self) -> Option<&SparkSqlJobDriver>
pub fn spark_sql_job_driver(&self) -> Option<&SparkSqlJobDriver>
The job driver for job type.
Trait Implementations§
source§impl PartialEq<JobDriver> for JobDriver
impl PartialEq<JobDriver> for JobDriver
impl StructuralPartialEq for JobDriver
Auto Trait Implementations§
impl RefUnwindSafe for JobDriver
impl Send for JobDriver
impl Sync for JobDriver
impl Unpin for JobDriver
impl UnwindSafe for JobDriver
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more