Struct aws_sdk_migrationhub::types::builders::TaskBuilder
source · #[non_exhaustive]pub struct TaskBuilder { /* private fields */ }Expand description
A builder for Task.
Implementations§
source§impl TaskBuilder
impl TaskBuilder
sourcepub fn status(self, input: Status) -> Self
pub fn status(self, input: Status) -> Self
Status of the task - Not Started, In-Progress, Complete.
This field is required.sourcepub fn set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
Status of the task - Not Started, In-Progress, Complete.
sourcepub fn get_status(&self) -> &Option<Status>
pub fn get_status(&self) -> &Option<Status>
Status of the task - Not Started, In-Progress, Complete.
sourcepub fn status_detail(self, input: impl Into<String>) -> Self
pub fn status_detail(self, input: impl Into<String>) -> Self
Details of task status as notified by a migration tool. A tool might use this field to provide clarifying information about the status that is unique to that tool or that explains an error state.
sourcepub fn set_status_detail(self, input: Option<String>) -> Self
pub fn set_status_detail(self, input: Option<String>) -> Self
Details of task status as notified by a migration tool. A tool might use this field to provide clarifying information about the status that is unique to that tool or that explains an error state.
sourcepub fn get_status_detail(&self) -> &Option<String>
pub fn get_status_detail(&self) -> &Option<String>
Details of task status as notified by a migration tool. A tool might use this field to provide clarifying information about the status that is unique to that tool or that explains an error state.
sourcepub fn progress_percent(self, input: i32) -> Self
pub fn progress_percent(self, input: i32) -> Self
Indication of the percentage completion of the task.
sourcepub fn set_progress_percent(self, input: Option<i32>) -> Self
pub fn set_progress_percent(self, input: Option<i32>) -> Self
Indication of the percentage completion of the task.
sourcepub fn get_progress_percent(&self) -> &Option<i32>
pub fn get_progress_percent(&self) -> &Option<i32>
Indication of the percentage completion of the task.
Trait Implementations§
source§impl Clone for TaskBuilder
impl Clone for TaskBuilder
source§fn clone(&self) -> TaskBuilder
fn clone(&self) -> TaskBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TaskBuilder
impl Debug for TaskBuilder
source§impl Default for TaskBuilder
impl Default for TaskBuilder
source§fn default() -> TaskBuilder
fn default() -> TaskBuilder
source§impl PartialEq for TaskBuilder
impl PartialEq for TaskBuilder
source§fn eq(&self, other: &TaskBuilder) -> bool
fn eq(&self, other: &TaskBuilder) -> bool
self and other values to be equal, and is used
by ==.