Struct aws_sdk_deadline::operation::get_task::builders::GetTaskOutputBuilder
source · #[non_exhaustive]pub struct GetTaskOutputBuilder { /* private fields */ }Expand description
A builder for GetTaskOutput.
Implementations§
source§impl GetTaskOutputBuilder
impl GetTaskOutputBuilder
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 created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time the resource was created.
This field is required.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 created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The user or system that created this resource.
This field is required.sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The user or system that created this resource.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The user or system that created this resource.
sourcepub fn run_status(self, input: TaskRunStatus) -> Self
pub fn run_status(self, input: TaskRunStatus) -> Self
The run status for the task.
This field is required.sourcepub fn set_run_status(self, input: Option<TaskRunStatus>) -> Self
pub fn set_run_status(self, input: Option<TaskRunStatus>) -> Self
The run status for the task.
sourcepub fn get_run_status(&self) -> &Option<TaskRunStatus>
pub fn get_run_status(&self) -> &Option<TaskRunStatus>
The run status for the task.
sourcepub fn target_run_status(self, input: TaskTargetRunStatus) -> Self
pub fn target_run_status(self, input: TaskTargetRunStatus) -> Self
The run status with which to start the task.
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 with which to start the task.
sourcepub fn get_target_run_status(&self) -> &Option<TaskTargetRunStatus>
pub fn get_target_run_status(&self) -> &Option<TaskTargetRunStatus>
The run status with which to start the task.
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 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 for the task.
sourcepub fn set_parameters(
self,
input: Option<HashMap<String, TaskParameterValue>>
) -> Self
pub fn set_parameters( self, input: Option<HashMap<String, TaskParameterValue>> ) -> Self
The parameters for the task.
sourcepub fn get_parameters(&self) -> &Option<HashMap<String, TaskParameterValue>>
pub fn get_parameters(&self) -> &Option<HashMap<String, TaskParameterValue>>
The parameters for the task.
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 updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The date and time the resource was updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The date and time the resource was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The date and time the resource was updated.
sourcepub fn updated_by(self, input: impl Into<String>) -> Self
pub fn updated_by(self, input: impl Into<String>) -> Self
The user or system that updated this resource.
sourcepub fn set_updated_by(self, input: Option<String>) -> Self
pub fn set_updated_by(self, input: Option<String>) -> Self
The user or system that updated this resource.
sourcepub fn get_updated_by(&self) -> &Option<String>
pub fn get_updated_by(&self) -> &Option<String>
The user or system that updated this resource.
sourcepub fn latest_session_action_id(self, input: impl Into<String>) -> Self
pub fn latest_session_action_id(self, input: impl Into<String>) -> Self
The latest session ID for the task.
sourcepub fn set_latest_session_action_id(self, input: Option<String>) -> Self
pub fn set_latest_session_action_id(self, input: Option<String>) -> Self
The latest session ID for the task.
sourcepub fn get_latest_session_action_id(&self) -> &Option<String>
pub fn get_latest_session_action_id(&self) -> &Option<String>
The latest session ID for the task.
sourcepub fn build(self) -> Result<GetTaskOutput, BuildError>
pub fn build(self) -> Result<GetTaskOutput, BuildError>
Consumes the builder and constructs a GetTaskOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetTaskOutputBuilder
impl Clone for GetTaskOutputBuilder
source§fn clone(&self) -> GetTaskOutputBuilder
fn clone(&self) -> GetTaskOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetTaskOutputBuilder
impl Debug for GetTaskOutputBuilder
source§impl Default for GetTaskOutputBuilder
impl Default for GetTaskOutputBuilder
source§fn default() -> GetTaskOutputBuilder
fn default() -> GetTaskOutputBuilder
source§impl PartialEq for GetTaskOutputBuilder
impl PartialEq for GetTaskOutputBuilder
source§fn eq(&self, other: &GetTaskOutputBuilder) -> bool
fn eq(&self, other: &GetTaskOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.