Struct aws_sdk_emrserverless::types::SparkSubmit
source · #[non_exhaustive]pub struct SparkSubmit {
pub entry_point: String,
pub entry_point_arguments: Option<Vec<String>>,
pub spark_submit_parameters: Option<String>,
}
Expand description
The configurations for the Spark submit job driver.
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.entry_point: String
The entry point for the Spark submit job run.
entry_point_arguments: Option<Vec<String>>
The arguments for the Spark submit job run.
spark_submit_parameters: Option<String>
The parameters for the Spark submit job run.
Implementations§
source§impl SparkSubmit
impl SparkSubmit
sourcepub fn entry_point(&self) -> &str
pub fn entry_point(&self) -> &str
The entry point for the Spark submit job run.
sourcepub fn entry_point_arguments(&self) -> &[String]
pub fn entry_point_arguments(&self) -> &[String]
The arguments for the Spark submit job run.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .entry_point_arguments.is_none()
.
sourcepub fn spark_submit_parameters(&self) -> Option<&str>
pub fn spark_submit_parameters(&self) -> Option<&str>
The parameters for the Spark submit job run.
source§impl SparkSubmit
impl SparkSubmit
sourcepub fn builder() -> SparkSubmitBuilder
pub fn builder() -> SparkSubmitBuilder
Creates a new builder-style object to manufacture SparkSubmit
.
Trait Implementations§
source§impl Clone for SparkSubmit
impl Clone for SparkSubmit
source§fn clone(&self) -> SparkSubmit
fn clone(&self) -> SparkSubmit
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 SparkSubmit
impl Debug for SparkSubmit
source§impl PartialEq for SparkSubmit
impl PartialEq for SparkSubmit
source§fn eq(&self, other: &SparkSubmit) -> bool
fn eq(&self, other: &SparkSubmit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SparkSubmit
Auto Trait Implementations§
impl Freeze for SparkSubmit
impl RefUnwindSafe for SparkSubmit
impl Send for SparkSubmit
impl Sync for SparkSubmit
impl Unpin for SparkSubmit
impl UnwindSafe for SparkSubmit
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.