Struct aws_sdk_databrew::types::builders::JobRunBuilder
source · #[non_exhaustive]pub struct JobRunBuilder { /* private fields */ }
Expand description
A builder for JobRun
.
Implementations§
source§impl JobRunBuilder
impl JobRunBuilder
sourcepub fn attempt(self, input: i32) -> Self
pub fn attempt(self, input: i32) -> Self
The number of times that DataBrew has attempted to run the job.
sourcepub fn set_attempt(self, input: Option<i32>) -> Self
pub fn set_attempt(self, input: Option<i32>) -> Self
The number of times that DataBrew has attempted to run the job.
sourcepub fn get_attempt(&self) -> &Option<i32>
pub fn get_attempt(&self) -> &Option<i32>
The number of times that DataBrew has attempted to run the job.
sourcepub fn completed_on(self, input: DateTime) -> Self
pub fn completed_on(self, input: DateTime) -> Self
The date and time when the job completed processing.
sourcepub fn set_completed_on(self, input: Option<DateTime>) -> Self
pub fn set_completed_on(self, input: Option<DateTime>) -> Self
The date and time when the job completed processing.
sourcepub fn get_completed_on(&self) -> &Option<DateTime>
pub fn get_completed_on(&self) -> &Option<DateTime>
The date and time when the job completed processing.
sourcepub fn dataset_name(self, input: impl Into<String>) -> Self
pub fn dataset_name(self, input: impl Into<String>) -> Self
The name of the dataset for the job to process.
sourcepub fn set_dataset_name(self, input: Option<String>) -> Self
pub fn set_dataset_name(self, input: Option<String>) -> Self
The name of the dataset for the job to process.
sourcepub fn get_dataset_name(&self) -> &Option<String>
pub fn get_dataset_name(&self) -> &Option<String>
The name of the dataset for the job to process.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
A message indicating an error (if any) that was encountered when the job ran.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
A message indicating an error (if any) that was encountered when the job ran.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
A message indicating an error (if any) that was encountered when the job ran.
sourcepub fn execution_time(self, input: i32) -> Self
pub fn execution_time(self, input: i32) -> Self
The amount of time, in seconds, during which a job run consumed resources.
sourcepub fn set_execution_time(self, input: Option<i32>) -> Self
pub fn set_execution_time(self, input: Option<i32>) -> Self
The amount of time, in seconds, during which a job run consumed resources.
sourcepub fn get_execution_time(&self) -> &Option<i32>
pub fn get_execution_time(&self) -> &Option<i32>
The amount of time, in seconds, during which a job run consumed resources.
sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The name of the job being processed during this run.
sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The name of the job being processed during this run.
sourcepub fn get_job_name(&self) -> &Option<String>
pub fn get_job_name(&self) -> &Option<String>
The name of the job being processed during this run.
sourcepub fn set_run_id(self, input: Option<String>) -> Self
pub fn set_run_id(self, input: Option<String>) -> Self
The unique identifier of the job run.
sourcepub fn get_run_id(&self) -> &Option<String>
pub fn get_run_id(&self) -> &Option<String>
The unique identifier of the job run.
sourcepub fn state(self, input: JobRunState) -> Self
pub fn state(self, input: JobRunState) -> Self
The current state of the job run entity itself.
sourcepub fn set_state(self, input: Option<JobRunState>) -> Self
pub fn set_state(self, input: Option<JobRunState>) -> Self
The current state of the job run entity itself.
sourcepub fn get_state(&self) -> &Option<JobRunState>
pub fn get_state(&self) -> &Option<JobRunState>
The current state of the job run entity itself.
sourcepub fn log_subscription(self, input: LogSubscription) -> Self
pub fn log_subscription(self, input: LogSubscription) -> Self
The current status of Amazon CloudWatch logging for the job run.
sourcepub fn set_log_subscription(self, input: Option<LogSubscription>) -> Self
pub fn set_log_subscription(self, input: Option<LogSubscription>) -> Self
The current status of Amazon CloudWatch logging for the job run.
sourcepub fn get_log_subscription(&self) -> &Option<LogSubscription>
pub fn get_log_subscription(&self) -> &Option<LogSubscription>
The current status of Amazon CloudWatch logging for the job run.
sourcepub fn log_group_name(self, input: impl Into<String>) -> Self
pub fn log_group_name(self, input: impl Into<String>) -> Self
The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
sourcepub fn set_log_group_name(self, input: Option<String>) -> Self
pub fn set_log_group_name(self, input: Option<String>) -> Self
The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
sourcepub fn get_log_group_name(&self) -> &Option<String>
pub fn get_log_group_name(&self) -> &Option<String>
The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
sourcepub fn outputs(self, input: Output) -> Self
pub fn outputs(self, input: Output) -> Self
Appends an item to outputs
.
To override the contents of this collection use set_outputs
.
One or more output artifacts from a job run.
sourcepub fn set_outputs(self, input: Option<Vec<Output>>) -> Self
pub fn set_outputs(self, input: Option<Vec<Output>>) -> Self
One or more output artifacts from a job run.
sourcepub fn get_outputs(&self) -> &Option<Vec<Output>>
pub fn get_outputs(&self) -> &Option<Vec<Output>>
One or more output artifacts from a job run.
sourcepub fn data_catalog_outputs(self, input: DataCatalogOutput) -> Self
pub fn data_catalog_outputs(self, input: DataCatalogOutput) -> Self
Appends an item to data_catalog_outputs
.
To override the contents of this collection use set_data_catalog_outputs
.
One or more artifacts that represent the Glue Data Catalog output from running the job.
sourcepub fn set_data_catalog_outputs(
self,
input: Option<Vec<DataCatalogOutput>>
) -> Self
pub fn set_data_catalog_outputs( self, input: Option<Vec<DataCatalogOutput>> ) -> Self
One or more artifacts that represent the Glue Data Catalog output from running the job.
sourcepub fn get_data_catalog_outputs(&self) -> &Option<Vec<DataCatalogOutput>>
pub fn get_data_catalog_outputs(&self) -> &Option<Vec<DataCatalogOutput>>
One or more artifacts that represent the Glue Data Catalog output from running the job.
sourcepub fn database_outputs(self, input: DatabaseOutput) -> Self
pub fn database_outputs(self, input: DatabaseOutput) -> Self
Appends an item to database_outputs
.
To override the contents of this collection use set_database_outputs
.
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
sourcepub fn set_database_outputs(self, input: Option<Vec<DatabaseOutput>>) -> Self
pub fn set_database_outputs(self, input: Option<Vec<DatabaseOutput>>) -> Self
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
sourcepub fn get_database_outputs(&self) -> &Option<Vec<DatabaseOutput>>
pub fn get_database_outputs(&self) -> &Option<Vec<DatabaseOutput>>
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
sourcepub fn recipe_reference(self, input: RecipeReference) -> Self
pub fn recipe_reference(self, input: RecipeReference) -> Self
The set of steps processed by the job.
sourcepub fn set_recipe_reference(self, input: Option<RecipeReference>) -> Self
pub fn set_recipe_reference(self, input: Option<RecipeReference>) -> Self
The set of steps processed by the job.
sourcepub fn get_recipe_reference(&self) -> &Option<RecipeReference>
pub fn get_recipe_reference(&self) -> &Option<RecipeReference>
The set of steps processed by the job.
sourcepub fn started_by(self, input: impl Into<String>) -> Self
pub fn started_by(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the user who initiated the job run.
sourcepub fn set_started_by(self, input: Option<String>) -> Self
pub fn set_started_by(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the user who initiated the job run.
sourcepub fn get_started_by(&self) -> &Option<String>
pub fn get_started_by(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the user who initiated the job run.
sourcepub fn started_on(self, input: DateTime) -> Self
pub fn started_on(self, input: DateTime) -> Self
The date and time when the job run began.
sourcepub fn set_started_on(self, input: Option<DateTime>) -> Self
pub fn set_started_on(self, input: Option<DateTime>) -> Self
The date and time when the job run began.
sourcepub fn get_started_on(&self) -> &Option<DateTime>
pub fn get_started_on(&self) -> &Option<DateTime>
The date and time when the job run began.
sourcepub fn job_sample(self, input: JobSample) -> Self
pub fn job_sample(self, input: JobSample) -> Self
A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If a JobSample
value isn't provided, the default is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.
sourcepub fn set_job_sample(self, input: Option<JobSample>) -> Self
pub fn set_job_sample(self, input: Option<JobSample>) -> Self
A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If a JobSample
value isn't provided, the default is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.
sourcepub fn get_job_sample(&self) -> &Option<JobSample>
pub fn get_job_sample(&self) -> &Option<JobSample>
A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If a JobSample
value isn't provided, the default is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.
sourcepub fn validation_configurations(self, input: ValidationConfiguration) -> Self
pub fn validation_configurations(self, input: ValidationConfiguration) -> Self
Appends an item to validation_configurations
.
To override the contents of this collection use set_validation_configurations
.
List of validation configurations that are applied to the profile job run.
sourcepub fn set_validation_configurations(
self,
input: Option<Vec<ValidationConfiguration>>
) -> Self
pub fn set_validation_configurations( self, input: Option<Vec<ValidationConfiguration>> ) -> Self
List of validation configurations that are applied to the profile job run.
sourcepub fn get_validation_configurations(
&self
) -> &Option<Vec<ValidationConfiguration>>
pub fn get_validation_configurations( &self ) -> &Option<Vec<ValidationConfiguration>>
List of validation configurations that are applied to the profile job run.
Trait Implementations§
source§impl Clone for JobRunBuilder
impl Clone for JobRunBuilder
source§fn clone(&self) -> JobRunBuilder
fn clone(&self) -> JobRunBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobRunBuilder
impl Debug for JobRunBuilder
source§impl Default for JobRunBuilder
impl Default for JobRunBuilder
source§fn default() -> JobRunBuilder
fn default() -> JobRunBuilder
source§impl PartialEq for JobRunBuilder
impl PartialEq for JobRunBuilder
source§fn eq(&self, other: &JobRunBuilder) -> bool
fn eq(&self, other: &JobRunBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.