#[non_exhaustive]pub struct JobTemplateDataBuilder { /* private fields */ }Expand description
A builder for JobTemplateData.
Implementations§
source§impl JobTemplateDataBuilder
impl JobTemplateDataBuilder
sourcepub fn execution_role_arn(self, input: impl Into<String>) -> Self
pub fn execution_role_arn(self, input: impl Into<String>) -> Self
The execution role ARN of the job run.
sourcepub fn set_execution_role_arn(self, input: Option<String>) -> Self
pub fn set_execution_role_arn(self, input: Option<String>) -> Self
The execution role ARN of the job run.
sourcepub fn get_execution_role_arn(&self) -> &Option<String>
pub fn get_execution_role_arn(&self) -> &Option<String>
The execution role ARN of the job run.
sourcepub fn release_label(self, input: impl Into<String>) -> Self
pub fn release_label(self, input: impl Into<String>) -> Self
The release version of Amazon EMR.
sourcepub fn set_release_label(self, input: Option<String>) -> Self
pub fn set_release_label(self, input: Option<String>) -> Self
The release version of Amazon EMR.
sourcepub fn get_release_label(&self) -> &Option<String>
pub fn get_release_label(&self) -> &Option<String>
The release version of Amazon EMR.
sourcepub fn configuration_overrides(
self,
input: ParametricConfigurationOverrides
) -> Self
pub fn configuration_overrides( self, input: ParametricConfigurationOverrides ) -> Self
The configuration settings that are used to override defaults configuration.
sourcepub fn set_configuration_overrides(
self,
input: Option<ParametricConfigurationOverrides>
) -> Self
pub fn set_configuration_overrides( self, input: Option<ParametricConfigurationOverrides> ) -> Self
The configuration settings that are used to override defaults configuration.
sourcepub fn get_configuration_overrides(
&self
) -> &Option<ParametricConfigurationOverrides>
pub fn get_configuration_overrides( &self ) -> &Option<ParametricConfigurationOverrides>
The configuration settings that are used to override defaults configuration.
sourcepub fn job_driver(self, input: JobDriver) -> Self
pub fn job_driver(self, input: JobDriver) -> Self
Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either sparkSqlJobDriver or sparkSubmitJobDriver.
sourcepub fn set_job_driver(self, input: Option<JobDriver>) -> Self
pub fn set_job_driver(self, input: Option<JobDriver>) -> Self
Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either sparkSqlJobDriver or sparkSubmitJobDriver.
sourcepub fn get_job_driver(&self) -> &Option<JobDriver>
pub fn get_job_driver(&self) -> &Option<JobDriver>
Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either sparkSqlJobDriver or sparkSubmitJobDriver.
sourcepub fn parameter_configuration(
self,
k: impl Into<String>,
v: TemplateParameterConfiguration
) -> Self
pub fn parameter_configuration( self, k: impl Into<String>, v: TemplateParameterConfiguration ) -> Self
Adds a key-value pair to parameter_configuration.
To override the contents of this collection use set_parameter_configuration.
The configuration of parameters existing in the job template.
sourcepub fn set_parameter_configuration(
self,
input: Option<HashMap<String, TemplateParameterConfiguration>>
) -> Self
pub fn set_parameter_configuration( self, input: Option<HashMap<String, TemplateParameterConfiguration>> ) -> Self
The configuration of parameters existing in the job template.
sourcepub fn get_parameter_configuration(
&self
) -> &Option<HashMap<String, TemplateParameterConfiguration>>
pub fn get_parameter_configuration( &self ) -> &Option<HashMap<String, TemplateParameterConfiguration>>
The configuration of parameters existing in the job template.
Adds a key-value pair to job_tags.
To override the contents of this collection use set_job_tags.
The tags assigned to jobs started using the job template.
The tags assigned to jobs started using the job template.
The tags assigned to jobs started using the job template.
sourcepub fn build(self) -> JobTemplateData
pub fn build(self) -> JobTemplateData
Consumes the builder and constructs a JobTemplateData.
Trait Implementations§
source§impl Clone for JobTemplateDataBuilder
impl Clone for JobTemplateDataBuilder
source§fn clone(&self) -> JobTemplateDataBuilder
fn clone(&self) -> JobTemplateDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for JobTemplateDataBuilder
impl Debug for JobTemplateDataBuilder
source§impl Default for JobTemplateDataBuilder
impl Default for JobTemplateDataBuilder
source§fn default() -> JobTemplateDataBuilder
fn default() -> JobTemplateDataBuilder
source§impl PartialEq<JobTemplateDataBuilder> for JobTemplateDataBuilder
impl PartialEq<JobTemplateDataBuilder> for JobTemplateDataBuilder
source§fn eq(&self, other: &JobTemplateDataBuilder) -> bool
fn eq(&self, other: &JobTemplateDataBuilder) -> bool
self and other values to be equal, and is used
by ==.