#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for TaskExecutionResultDetail
Implementations
sourceimpl Builder
impl Builder
sourcepub fn prepare_duration(self, input: i64) -> Self
pub fn prepare_duration(self, input: i64) -> Self
The total time in milliseconds that DataSync spent in the PREPARING phase.
sourcepub fn set_prepare_duration(self, input: Option<i64>) -> Self
pub fn set_prepare_duration(self, input: Option<i64>) -> Self
The total time in milliseconds that DataSync spent in the PREPARING phase.
sourcepub fn prepare_status(self, input: PhaseStatus) -> Self
pub fn prepare_status(self, input: PhaseStatus) -> Self
The status of the PREPARING phase.
sourcepub fn set_prepare_status(self, input: Option<PhaseStatus>) -> Self
pub fn set_prepare_status(self, input: Option<PhaseStatus>) -> Self
The status of the PREPARING phase.
sourcepub fn total_duration(self, input: i64) -> Self
pub fn total_duration(self, input: i64) -> Self
The total time in milliseconds that DataSync took to transfer the file from the source to the destination location.
sourcepub fn set_total_duration(self, input: Option<i64>) -> Self
pub fn set_total_duration(self, input: Option<i64>) -> Self
The total time in milliseconds that DataSync took to transfer the file from the source to the destination location.
sourcepub fn transfer_duration(self, input: i64) -> Self
pub fn transfer_duration(self, input: i64) -> Self
The total time in milliseconds that DataSync spent in the TRANSFERRING phase.
sourcepub fn set_transfer_duration(self, input: Option<i64>) -> Self
pub fn set_transfer_duration(self, input: Option<i64>) -> Self
The total time in milliseconds that DataSync spent in the TRANSFERRING phase.
sourcepub fn transfer_status(self, input: PhaseStatus) -> Self
pub fn transfer_status(self, input: PhaseStatus) -> Self
The status of the TRANSFERRING phase.
sourcepub fn set_transfer_status(self, input: Option<PhaseStatus>) -> Self
pub fn set_transfer_status(self, input: Option<PhaseStatus>) -> Self
The status of the TRANSFERRING phase.
sourcepub fn verify_duration(self, input: i64) -> Self
pub fn verify_duration(self, input: i64) -> Self
The total time in milliseconds that DataSync spent in the VERIFYING phase.
sourcepub fn set_verify_duration(self, input: Option<i64>) -> Self
pub fn set_verify_duration(self, input: Option<i64>) -> Self
The total time in milliseconds that DataSync spent in the VERIFYING phase.
sourcepub fn verify_status(self, input: PhaseStatus) -> Self
pub fn verify_status(self, input: PhaseStatus) -> Self
The status of the VERIFYING phase.
sourcepub fn set_verify_status(self, input: Option<PhaseStatus>) -> Self
pub fn set_verify_status(self, input: Option<PhaseStatus>) -> Self
The status of the VERIFYING phase.
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
sourcepub fn error_detail(self, input: impl Into<String>) -> Self
pub fn error_detail(self, input: impl Into<String>) -> Self
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
sourcepub fn set_error_detail(self, input: Option<String>) -> Self
pub fn set_error_detail(self, input: Option<String>) -> Self
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
sourcepub fn build(self) -> TaskExecutionResultDetail
pub fn build(self) -> TaskExecutionResultDetail
Consumes the builder and constructs a TaskExecutionResultDetail
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more