#[non_exhaustive]pub struct TaskExecutionResultDetailBuilder { /* private fields */ }
Expand description
A builder for TaskExecutionResultDetail
.
Implementations§
source§impl TaskExecutionResultDetailBuilder
impl TaskExecutionResultDetailBuilder
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 get_prepare_duration(&self) -> &Option<i64>
pub fn get_prepare_duration(&self) -> &Option<i64>
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 get_prepare_status(&self) -> &Option<PhaseStatus>
pub fn get_prepare_status(&self) -> &Option<PhaseStatus>
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 get_total_duration(&self) -> &Option<i64>
pub fn get_total_duration(&self) -> &Option<i64>
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 get_transfer_duration(&self) -> &Option<i64>
pub fn get_transfer_duration(&self) -> &Option<i64>
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 get_transfer_status(&self) -> &Option<PhaseStatus>
pub fn get_transfer_status(&self) -> &Option<PhaseStatus>
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 get_verify_duration(&self) -> &Option<i64>
pub fn get_verify_duration(&self) -> &Option<i64>
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 get_verify_status(&self) -> &Option<PhaseStatus>
pub fn get_verify_status(&self) -> &Option<PhaseStatus>
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 get_error_code(&self) -> &Option<String>
pub fn get_error_code(&self) -> &Option<String>
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 get_error_detail(&self) -> &Option<String>
pub fn get_error_detail(&self) -> &Option<String>
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§
source§impl Clone for TaskExecutionResultDetailBuilder
impl Clone for TaskExecutionResultDetailBuilder
source§fn clone(&self) -> TaskExecutionResultDetailBuilder
fn clone(&self) -> TaskExecutionResultDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TaskExecutionResultDetailBuilder
impl Default for TaskExecutionResultDetailBuilder
source§fn default() -> TaskExecutionResultDetailBuilder
fn default() -> TaskExecutionResultDetailBuilder
source§impl PartialEq for TaskExecutionResultDetailBuilder
impl PartialEq for TaskExecutionResultDetailBuilder
source§fn eq(&self, other: &TaskExecutionResultDetailBuilder) -> bool
fn eq(&self, other: &TaskExecutionResultDetailBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TaskExecutionResultDetailBuilder
Auto Trait Implementations§
impl Freeze for TaskExecutionResultDetailBuilder
impl RefUnwindSafe for TaskExecutionResultDetailBuilder
impl Send for TaskExecutionResultDetailBuilder
impl Sync for TaskExecutionResultDetailBuilder
impl Unpin for TaskExecutionResultDetailBuilder
impl UnwindSafe for TaskExecutionResultDetailBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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