Struct aws_sdk_deadline::types::builders::TaskSearchSummaryBuilder
source · #[non_exhaustive]pub struct TaskSearchSummaryBuilder { /* private fields */ }Expand description
A builder for TaskSearchSummary.
Implementations§
source§impl TaskSearchSummaryBuilder
impl TaskSearchSummaryBuilder
sourcepub fn set_task_id(self, input: Option<String>) -> Self
pub fn set_task_id(self, input: Option<String>) -> Self
The task ID.
sourcepub fn get_task_id(&self) -> &Option<String>
pub fn get_task_id(&self) -> &Option<String>
The task ID.
sourcepub fn set_step_id(self, input: Option<String>) -> Self
pub fn set_step_id(self, input: Option<String>) -> Self
The step ID.
sourcepub fn get_step_id(&self) -> &Option<String>
pub fn get_step_id(&self) -> &Option<String>
The step ID.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The job ID.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The job ID.
sourcepub fn set_queue_id(self, input: Option<String>) -> Self
pub fn set_queue_id(self, input: Option<String>) -> Self
The queue ID.
sourcepub fn get_queue_id(&self) -> &Option<String>
pub fn get_queue_id(&self) -> &Option<String>
The queue ID.
sourcepub fn run_status(self, input: TaskRunStatus) -> Self
pub fn run_status(self, input: TaskRunStatus) -> Self
The run status of the task.
sourcepub fn set_run_status(self, input: Option<TaskRunStatus>) -> Self
pub fn set_run_status(self, input: Option<TaskRunStatus>) -> Self
The run status of the task.
sourcepub fn get_run_status(&self) -> &Option<TaskRunStatus>
pub fn get_run_status(&self) -> &Option<TaskRunStatus>
The run status of the task.
sourcepub fn target_run_status(self, input: TaskTargetRunStatus) -> Self
pub fn target_run_status(self, input: TaskTargetRunStatus) -> Self
The run status that the task is being updated to.
sourcepub fn set_target_run_status(self, input: Option<TaskTargetRunStatus>) -> Self
pub fn set_target_run_status(self, input: Option<TaskTargetRunStatus>) -> Self
The run status that the task is being updated to.
sourcepub fn get_target_run_status(&self) -> &Option<TaskTargetRunStatus>
pub fn get_target_run_status(&self) -> &Option<TaskTargetRunStatus>
The run status that the task is being updated to.
sourcepub fn parameters(self, k: impl Into<String>, v: TaskParameterValue) -> Self
pub fn parameters(self, k: impl Into<String>, v: TaskParameterValue) -> Self
Adds a key-value pair to parameters.
To override the contents of this collection use set_parameters.
The parameters to search for.
sourcepub fn set_parameters(
self,
input: Option<HashMap<String, TaskParameterValue>>
) -> Self
pub fn set_parameters( self, input: Option<HashMap<String, TaskParameterValue>> ) -> Self
The parameters to search for.
sourcepub fn get_parameters(&self) -> &Option<HashMap<String, TaskParameterValue>>
pub fn get_parameters(&self) -> &Option<HashMap<String, TaskParameterValue>>
The parameters to search for.
sourcepub fn failure_retry_count(self, input: i32) -> Self
pub fn failure_retry_count(self, input: i32) -> Self
The number of times that the task failed and was retried.
sourcepub fn set_failure_retry_count(self, input: Option<i32>) -> Self
pub fn set_failure_retry_count(self, input: Option<i32>) -> Self
The number of times that the task failed and was retried.
sourcepub fn get_failure_retry_count(&self) -> &Option<i32>
pub fn get_failure_retry_count(&self) -> &Option<i32>
The number of times that the task failed and was retried.
sourcepub fn started_at(self, input: DateTime) -> Self
pub fn started_at(self, input: DateTime) -> Self
The date and time the resource started running.
sourcepub fn set_started_at(self, input: Option<DateTime>) -> Self
pub fn set_started_at(self, input: Option<DateTime>) -> Self
The date and time the resource started running.
sourcepub fn get_started_at(&self) -> &Option<DateTime>
pub fn get_started_at(&self) -> &Option<DateTime>
The date and time the resource started running.
sourcepub fn set_ended_at(self, input: Option<DateTime>) -> Self
pub fn set_ended_at(self, input: Option<DateTime>) -> Self
The date and time the resource ended running.
sourcepub fn get_ended_at(&self) -> &Option<DateTime>
pub fn get_ended_at(&self) -> &Option<DateTime>
The date and time the resource ended running.
sourcepub fn build(self) -> TaskSearchSummary
pub fn build(self) -> TaskSearchSummary
Consumes the builder and constructs a TaskSearchSummary.
Trait Implementations§
source§impl Clone for TaskSearchSummaryBuilder
impl Clone for TaskSearchSummaryBuilder
source§fn clone(&self) -> TaskSearchSummaryBuilder
fn clone(&self) -> TaskSearchSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TaskSearchSummaryBuilder
impl Debug for TaskSearchSummaryBuilder
source§impl Default for TaskSearchSummaryBuilder
impl Default for TaskSearchSummaryBuilder
source§fn default() -> TaskSearchSummaryBuilder
fn default() -> TaskSearchSummaryBuilder
source§impl PartialEq for TaskSearchSummaryBuilder
impl PartialEq for TaskSearchSummaryBuilder
source§fn eq(&self, other: &TaskSearchSummaryBuilder) -> bool
fn eq(&self, other: &TaskSearchSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.