#[non_exhaustive]pub struct GetRunTaskOutputBuilder { /* private fields */ }
Expand description
A builder for GetRunTaskOutput
.
Implementations§
source§impl GetRunTaskOutputBuilder
impl GetRunTaskOutputBuilder
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 get_task_id(&self) -> &Option<String>
pub fn get_task_id(&self) -> &Option<String>
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 get_status(&self) -> &Option<TaskStatus>
pub fn get_status(&self) -> &Option<TaskStatus>
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 use in gigabytes.
sourcepub fn get_memory(&self) -> &Option<i32>
pub fn get_memory(&self) -> &Option<i32>
The task's memory use in gigabytes.
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 get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
When the task was created.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The task's start time.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The task's start time.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The task's start time.
sourcepub fn set_stop_time(self, input: Option<DateTime>) -> Self
pub fn set_stop_time(self, input: Option<DateTime>) -> Self
The task's stop time.
sourcepub fn get_stop_time(&self) -> &Option<DateTime>
pub fn get_stop_time(&self) -> &Option<DateTime>
The task's stop time.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The task's status message.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The task's status message.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The task's status message.
sourcepub fn log_stream(self, input: impl Into<String>) -> Self
pub fn log_stream(self, input: impl Into<String>) -> Self
The task's log stream.
sourcepub fn set_log_stream(self, input: Option<String>) -> Self
pub fn set_log_stream(self, input: Option<String>) -> Self
The task's log stream.
sourcepub fn get_log_stream(&self) -> &Option<String>
pub fn get_log_stream(&self) -> &Option<String>
The task's log stream.
sourcepub fn gpus(self, input: i32) -> Self
pub fn gpus(self, input: i32) -> Self
The number of Graphics Processing Units (GPU) specified in the task.
sourcepub fn set_gpus(self, input: Option<i32>) -> Self
pub fn set_gpus(self, input: Option<i32>) -> Self
The number of Graphics Processing Units (GPU) specified in the task.
sourcepub fn get_gpus(&self) -> &Option<i32>
pub fn get_gpus(&self) -> &Option<i32>
The number of Graphics Processing Units (GPU) specified in the task.
sourcepub fn instance_type(self, input: impl Into<String>) -> Self
pub fn instance_type(self, input: impl Into<String>) -> Self
The instance type for a task.
sourcepub fn set_instance_type(self, input: Option<String>) -> Self
pub fn set_instance_type(self, input: Option<String>) -> Self
The instance type for a task.
sourcepub fn get_instance_type(&self) -> &Option<String>
pub fn get_instance_type(&self) -> &Option<String>
The instance type for a task.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
The reason a task has failed.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
The reason a task has failed.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
The reason a task has failed.
sourcepub fn build(self) -> GetRunTaskOutput
pub fn build(self) -> GetRunTaskOutput
Consumes the builder and constructs a GetRunTaskOutput
.
Trait Implementations§
source§impl Clone for GetRunTaskOutputBuilder
impl Clone for GetRunTaskOutputBuilder
source§fn clone(&self) -> GetRunTaskOutputBuilder
fn clone(&self) -> GetRunTaskOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetRunTaskOutputBuilder
impl Debug for GetRunTaskOutputBuilder
source§impl Default for GetRunTaskOutputBuilder
impl Default for GetRunTaskOutputBuilder
source§fn default() -> GetRunTaskOutputBuilder
fn default() -> GetRunTaskOutputBuilder
source§impl PartialEq for GetRunTaskOutputBuilder
impl PartialEq for GetRunTaskOutputBuilder
source§fn eq(&self, other: &GetRunTaskOutputBuilder) -> bool
fn eq(&self, other: &GetRunTaskOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.