Struct aws_sdk_emr::types::HadoopJarStepConfig
source · #[non_exhaustive]pub struct HadoopJarStepConfig {
pub properties: Option<Vec<KeyValue>>,
pub jar: Option<String>,
pub main_class: Option<String>,
pub args: Option<Vec<String>>,
}Expand description
A job flow step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.properties: Option<Vec<KeyValue>>A list of Java properties that are set when the step runs. You can use these properties to pass key-value pairs to your main function.
jar: Option<String>A path to a JAR file run during the step.
main_class: Option<String>The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.
args: Option<Vec<String>>A list of command line arguments passed to the JAR file's main function when executed.
Implementations§
source§impl HadoopJarStepConfig
impl HadoopJarStepConfig
sourcepub fn properties(&self) -> &[KeyValue]
pub fn properties(&self) -> &[KeyValue]
A list of Java properties that are set when the step runs. You can use these properties to pass key-value pairs to your main function.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .properties.is_none().
sourcepub fn main_class(&self) -> Option<&str>
pub fn main_class(&self) -> Option<&str>
The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.
source§impl HadoopJarStepConfig
impl HadoopJarStepConfig
sourcepub fn builder() -> HadoopJarStepConfigBuilder
pub fn builder() -> HadoopJarStepConfigBuilder
Creates a new builder-style object to manufacture HadoopJarStepConfig.
Trait Implementations§
source§impl Clone for HadoopJarStepConfig
impl Clone for HadoopJarStepConfig
source§fn clone(&self) -> HadoopJarStepConfig
fn clone(&self) -> HadoopJarStepConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for HadoopJarStepConfig
impl Debug for HadoopJarStepConfig
source§impl PartialEq for HadoopJarStepConfig
impl PartialEq for HadoopJarStepConfig
source§fn eq(&self, other: &HadoopJarStepConfig) -> bool
fn eq(&self, other: &HadoopJarStepConfig) -> bool
self and other values to be equal, and is used
by ==.