Struct aws_sdk_deadline::types::builders::StepSearchSummaryBuilder
source · #[non_exhaustive]pub struct StepSearchSummaryBuilder { /* private fields */ }Expand description
A builder for StepSearchSummary.
Implementations§
source§impl StepSearchSummaryBuilder
impl StepSearchSummaryBuilder
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 lifecycle_status(self, input: StepLifecycleStatus) -> Self
pub fn lifecycle_status(self, input: StepLifecycleStatus) -> Self
The life cycle status.
sourcepub fn set_lifecycle_status(self, input: Option<StepLifecycleStatus>) -> Self
pub fn set_lifecycle_status(self, input: Option<StepLifecycleStatus>) -> Self
The life cycle status.
sourcepub fn get_lifecycle_status(&self) -> &Option<StepLifecycleStatus>
pub fn get_lifecycle_status(&self) -> &Option<StepLifecycleStatus>
The life cycle status.
sourcepub fn lifecycle_status_message(self, input: impl Into<String>) -> Self
pub fn lifecycle_status_message(self, input: impl Into<String>) -> Self
The life cycle status message.
sourcepub fn set_lifecycle_status_message(self, input: Option<String>) -> Self
pub fn set_lifecycle_status_message(self, input: Option<String>) -> Self
The life cycle status message.
sourcepub fn get_lifecycle_status_message(&self) -> &Option<String>
pub fn get_lifecycle_status_message(&self) -> &Option<String>
The life cycle status message.
sourcepub fn task_run_status(self, input: TaskRunStatus) -> Self
pub fn task_run_status(self, input: TaskRunStatus) -> Self
The task run status for the job.
-
PENDING–pending and waiting for resources. -
READY–ready to be processed. -
ASSIGNED–assigned and will run next on a worker. -
SCHEDULED–scheduled to be run on a worker. -
INTERRUPTING–being interrupted. -
RUNNING–running on a worker. -
SUSPENDED–the task is suspended. -
CANCELED–the task has been canceled. -
FAILED–the task has failed. -
SUCCEEDED–the task has succeeded.
sourcepub fn set_task_run_status(self, input: Option<TaskRunStatus>) -> Self
pub fn set_task_run_status(self, input: Option<TaskRunStatus>) -> Self
The task run status for the job.
-
PENDING–pending and waiting for resources. -
READY–ready to be processed. -
ASSIGNED–assigned and will run next on a worker. -
SCHEDULED–scheduled to be run on a worker. -
INTERRUPTING–being interrupted. -
RUNNING–running on a worker. -
SUSPENDED–the task is suspended. -
CANCELED–the task has been canceled. -
FAILED–the task has failed. -
SUCCEEDED–the task has succeeded.
sourcepub fn get_task_run_status(&self) -> &Option<TaskRunStatus>
pub fn get_task_run_status(&self) -> &Option<TaskRunStatus>
The task run status for the job.
-
PENDING–pending and waiting for resources. -
READY–ready to be processed. -
ASSIGNED–assigned and will run next on a worker. -
SCHEDULED–scheduled to be run on a worker. -
INTERRUPTING–being interrupted. -
RUNNING–running on a worker. -
SUSPENDED–the task is suspended. -
CANCELED–the task has been canceled. -
FAILED–the task has failed. -
SUCCEEDED–the task has succeeded.
sourcepub fn target_task_run_status(self, input: StepTargetTaskRunStatus) -> Self
pub fn target_task_run_status(self, input: StepTargetTaskRunStatus) -> Self
The task status to start with on the job.
sourcepub fn set_target_task_run_status(
self,
input: Option<StepTargetTaskRunStatus>
) -> Self
pub fn set_target_task_run_status( self, input: Option<StepTargetTaskRunStatus> ) -> Self
The task status to start with on the job.
sourcepub fn get_target_task_run_status(&self) -> &Option<StepTargetTaskRunStatus>
pub fn get_target_task_run_status(&self) -> &Option<StepTargetTaskRunStatus>
The task status to start with on the job.
sourcepub fn task_run_status_counts(self, k: TaskRunStatus, v: i32) -> Self
pub fn task_run_status_counts(self, k: TaskRunStatus, v: i32) -> Self
Adds a key-value pair to task_run_status_counts.
To override the contents of this collection use set_task_run_status_counts.
The number of tasks running on the job.
sourcepub fn set_task_run_status_counts(
self,
input: Option<HashMap<TaskRunStatus, i32>>
) -> Self
pub fn set_task_run_status_counts( self, input: Option<HashMap<TaskRunStatus, i32>> ) -> Self
The number of tasks running on the job.
sourcepub fn get_task_run_status_counts(&self) -> &Option<HashMap<TaskRunStatus, i32>>
pub fn get_task_run_status_counts(&self) -> &Option<HashMap<TaskRunStatus, i32>>
The number of tasks running on the job.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time the resource was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time the resource was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time the resource was created.
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 parameter_space(self, input: ParameterSpace) -> Self
pub fn parameter_space(self, input: ParameterSpace) -> Self
The parameters and combination expressions for the search.
sourcepub fn set_parameter_space(self, input: Option<ParameterSpace>) -> Self
pub fn set_parameter_space(self, input: Option<ParameterSpace>) -> Self
The parameters and combination expressions for the search.
sourcepub fn get_parameter_space(&self) -> &Option<ParameterSpace>
pub fn get_parameter_space(&self) -> &Option<ParameterSpace>
The parameters and combination expressions for the search.
sourcepub fn build(self) -> StepSearchSummary
pub fn build(self) -> StepSearchSummary
Consumes the builder and constructs a StepSearchSummary.
Trait Implementations§
source§impl Clone for StepSearchSummaryBuilder
impl Clone for StepSearchSummaryBuilder
source§fn clone(&self) -> StepSearchSummaryBuilder
fn clone(&self) -> StepSearchSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StepSearchSummaryBuilder
impl Debug for StepSearchSummaryBuilder
source§impl Default for StepSearchSummaryBuilder
impl Default for StepSearchSummaryBuilder
source§fn default() -> StepSearchSummaryBuilder
fn default() -> StepSearchSummaryBuilder
source§impl PartialEq for StepSearchSummaryBuilder
impl PartialEq for StepSearchSummaryBuilder
source§fn eq(&self, other: &StepSearchSummaryBuilder) -> bool
fn eq(&self, other: &StepSearchSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.