Struct aws_sdk_glue::types::builders::TaskRunBuilder
source · #[non_exhaustive]pub struct TaskRunBuilder { /* private fields */ }Expand description
A builder for TaskRun.
Implementations§
source§impl TaskRunBuilder
impl TaskRunBuilder
sourcepub fn transform_id(self, input: impl Into<String>) -> Self
pub fn transform_id(self, input: impl Into<String>) -> Self
The unique identifier for the transform.
sourcepub fn set_transform_id(self, input: Option<String>) -> Self
pub fn set_transform_id(self, input: Option<String>) -> Self
The unique identifier for the transform.
sourcepub fn get_transform_id(&self) -> &Option<String>
pub fn get_transform_id(&self) -> &Option<String>
The unique identifier for the transform.
sourcepub fn task_run_id(self, input: impl Into<String>) -> Self
pub fn task_run_id(self, input: impl Into<String>) -> Self
The unique identifier for this task run.
sourcepub fn set_task_run_id(self, input: Option<String>) -> Self
pub fn set_task_run_id(self, input: Option<String>) -> Self
The unique identifier for this task run.
sourcepub fn get_task_run_id(&self) -> &Option<String>
pub fn get_task_run_id(&self) -> &Option<String>
The unique identifier for this task run.
sourcepub fn status(self, input: TaskStatusType) -> Self
pub fn status(self, input: TaskStatusType) -> Self
The current status of the requested task run.
sourcepub fn set_status(self, input: Option<TaskStatusType>) -> Self
pub fn set_status(self, input: Option<TaskStatusType>) -> Self
The current status of the requested task run.
sourcepub fn get_status(&self) -> &Option<TaskStatusType>
pub fn get_status(&self) -> &Option<TaskStatusType>
The current status of the requested task run.
sourcepub fn log_group_name(self, input: impl Into<String>) -> Self
pub fn log_group_name(self, input: impl Into<String>) -> Self
The names of the log group for secure logging, associated with this task run.
sourcepub fn set_log_group_name(self, input: Option<String>) -> Self
pub fn set_log_group_name(self, input: Option<String>) -> Self
The names of the log group for secure logging, associated with this task run.
sourcepub fn get_log_group_name(&self) -> &Option<String>
pub fn get_log_group_name(&self) -> &Option<String>
The names of the log group for secure logging, associated with this task run.
sourcepub fn properties(self, input: TaskRunProperties) -> Self
pub fn properties(self, input: TaskRunProperties) -> Self
Specifies configuration properties associated with this task run.
sourcepub fn set_properties(self, input: Option<TaskRunProperties>) -> Self
pub fn set_properties(self, input: Option<TaskRunProperties>) -> Self
Specifies configuration properties associated with this task run.
sourcepub fn get_properties(&self) -> &Option<TaskRunProperties>
pub fn get_properties(&self) -> &Option<TaskRunProperties>
Specifies configuration properties associated with this task run.
sourcepub fn error_string(self, input: impl Into<String>) -> Self
pub fn error_string(self, input: impl Into<String>) -> Self
The list of error strings associated with this task run.
sourcepub fn set_error_string(self, input: Option<String>) -> Self
pub fn set_error_string(self, input: Option<String>) -> Self
The list of error strings associated with this task run.
sourcepub fn get_error_string(&self) -> &Option<String>
pub fn get_error_string(&self) -> &Option<String>
The list of error strings associated with this task run.
sourcepub fn started_on(self, input: DateTime) -> Self
pub fn started_on(self, input: DateTime) -> Self
The date and time that this task run started.
sourcepub fn set_started_on(self, input: Option<DateTime>) -> Self
pub fn set_started_on(self, input: Option<DateTime>) -> Self
The date and time that this task run started.
sourcepub fn get_started_on(&self) -> &Option<DateTime>
pub fn get_started_on(&self) -> &Option<DateTime>
The date and time that this task run started.
sourcepub fn last_modified_on(self, input: DateTime) -> Self
pub fn last_modified_on(self, input: DateTime) -> Self
The last point in time that the requested task run was updated.
sourcepub fn set_last_modified_on(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_on(self, input: Option<DateTime>) -> Self
The last point in time that the requested task run was updated.
sourcepub fn get_last_modified_on(&self) -> &Option<DateTime>
pub fn get_last_modified_on(&self) -> &Option<DateTime>
The last point in time that the requested task run was updated.
sourcepub fn completed_on(self, input: DateTime) -> Self
pub fn completed_on(self, input: DateTime) -> Self
The last point in time that the requested task run was completed.
sourcepub fn set_completed_on(self, input: Option<DateTime>) -> Self
pub fn set_completed_on(self, input: Option<DateTime>) -> Self
The last point in time that the requested task run was completed.
sourcepub fn get_completed_on(&self) -> &Option<DateTime>
pub fn get_completed_on(&self) -> &Option<DateTime>
The last point in time that the requested task run was completed.
sourcepub fn execution_time(self, input: i32) -> Self
pub fn execution_time(self, input: i32) -> Self
The amount of time (in seconds) that the task 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) that the task 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) that the task run consumed resources.
Trait Implementations§
source§impl Clone for TaskRunBuilder
impl Clone for TaskRunBuilder
source§fn clone(&self) -> TaskRunBuilder
fn clone(&self) -> TaskRunBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TaskRunBuilder
impl Debug for TaskRunBuilder
source§impl Default for TaskRunBuilder
impl Default for TaskRunBuilder
source§fn default() -> TaskRunBuilder
fn default() -> TaskRunBuilder
source§impl PartialEq for TaskRunBuilder
impl PartialEq for TaskRunBuilder
source§fn eq(&self, other: &TaskRunBuilder) -> bool
fn eq(&self, other: &TaskRunBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TaskRunBuilder
Auto Trait Implementations§
impl Freeze for TaskRunBuilder
impl RefUnwindSafe for TaskRunBuilder
impl Send for TaskRunBuilder
impl Sync for TaskRunBuilder
impl Unpin for TaskRunBuilder
impl UnwindSafe for TaskRunBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more