#[non_exhaustive]pub struct SparkSubmitJobDriverBuilder { /* private fields */ }Expand description
A builder for SparkSubmitJobDriver.
Implementations§
source§impl SparkSubmitJobDriverBuilder
impl SparkSubmitJobDriverBuilder
sourcepub fn entry_point(self, input: impl Into<String>) -> Self
pub fn entry_point(self, input: impl Into<String>) -> Self
The entry point of job application.
sourcepub fn set_entry_point(self, input: Option<String>) -> Self
pub fn set_entry_point(self, input: Option<String>) -> Self
The entry point of job application.
sourcepub fn get_entry_point(&self) -> &Option<String>
pub fn get_entry_point(&self) -> &Option<String>
The entry point of job application.
sourcepub fn entry_point_arguments(self, input: impl Into<String>) -> Self
pub fn entry_point_arguments(self, input: impl Into<String>) -> Self
Appends an item to entry_point_arguments.
To override the contents of this collection use set_entry_point_arguments.
The arguments for job application.
sourcepub fn set_entry_point_arguments(self, input: Option<Vec<String>>) -> Self
pub fn set_entry_point_arguments(self, input: Option<Vec<String>>) -> Self
The arguments for job application.
sourcepub fn get_entry_point_arguments(&self) -> &Option<Vec<String>>
pub fn get_entry_point_arguments(&self) -> &Option<Vec<String>>
The arguments for job application.
sourcepub fn spark_submit_parameters(self, input: impl Into<String>) -> Self
pub fn spark_submit_parameters(self, input: impl Into<String>) -> Self
The Spark submit parameters that are used for job runs.
sourcepub fn set_spark_submit_parameters(self, input: Option<String>) -> Self
pub fn set_spark_submit_parameters(self, input: Option<String>) -> Self
The Spark submit parameters that are used for job runs.
sourcepub fn get_spark_submit_parameters(&self) -> &Option<String>
pub fn get_spark_submit_parameters(&self) -> &Option<String>
The Spark submit parameters that are used for job runs.
sourcepub fn build(self) -> SparkSubmitJobDriver
pub fn build(self) -> SparkSubmitJobDriver
Consumes the builder and constructs a SparkSubmitJobDriver.
Trait Implementations§
source§impl Clone for SparkSubmitJobDriverBuilder
impl Clone for SparkSubmitJobDriverBuilder
source§fn clone(&self) -> SparkSubmitJobDriverBuilder
fn clone(&self) -> SparkSubmitJobDriverBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SparkSubmitJobDriverBuilder
impl Debug for SparkSubmitJobDriverBuilder
source§impl Default for SparkSubmitJobDriverBuilder
impl Default for SparkSubmitJobDriverBuilder
source§fn default() -> SparkSubmitJobDriverBuilder
fn default() -> SparkSubmitJobDriverBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SparkSubmitJobDriverBuilder> for SparkSubmitJobDriverBuilder
impl PartialEq<SparkSubmitJobDriverBuilder> for SparkSubmitJobDriverBuilder
source§fn eq(&self, other: &SparkSubmitJobDriverBuilder) -> bool
fn eq(&self, other: &SparkSubmitJobDriverBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SparkSubmitJobDriverBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SparkSubmitJobDriverBuilder
impl Send for SparkSubmitJobDriverBuilder
impl Sync for SparkSubmitJobDriverBuilder
impl Unpin for SparkSubmitJobDriverBuilder
impl UnwindSafe for SparkSubmitJobDriverBuilder
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