Struct aws_sdk_databrew::model::job_run::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for JobRun
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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.