Struct aws_sdk_omics::model::task_list_item::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TaskListItem
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_task_id(self, input: Option<String>) -> Self
pub fn set_task_id(self, input: Option<String>) -> Self
The task's ID.
sourcepub fn status(self, input: TaskStatus) -> Self
pub fn status(self, input: TaskStatus) -> Self
The task's status.
sourcepub fn set_status(self, input: Option<TaskStatus>) -> Self
pub fn set_status(self, input: Option<TaskStatus>) -> Self
The task's status.
sourcepub fn set_memory(self, input: Option<i32>) -> Self
pub fn set_memory(self, input: Option<i32>) -> Self
The task's memory.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
When the task was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
When the task was created.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
When the task started.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
When the task started.
sourcepub fn set_stop_time(self, input: Option<DateTime>) -> Self
pub fn set_stop_time(self, input: Option<DateTime>) -> Self
When the task stopped.
sourcepub fn build(self) -> TaskListItem
pub fn build(self) -> TaskListItem
Consumes the builder and constructs a TaskListItem
.