#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for JobRun
Implementations
sourceimpl 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.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more