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 ==.impl StructuralPartialEq for TaskBuilder
Auto Trait Implementations§
impl Freeze for TaskBuilder
impl RefUnwindSafe for TaskBuilder
impl Send for TaskBuilder
impl Sync for TaskBuilder
impl Unpin for TaskBuilder
impl UnwindSafe for TaskBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more