Struct aws_sdk_datasync::model::TaskExecutionResultDetail
source · #[non_exhaustive]pub struct TaskExecutionResultDetail { /* private fields */ }
Expand description
Describes the detailed result of a TaskExecution
operation. This result includes the time in milliseconds spent in each phase, the status of the task execution, and the errors encountered.
Implementations§
source§impl TaskExecutionResultDetail
impl TaskExecutionResultDetail
sourcepub fn prepare_duration(&self) -> Option<i64>
pub fn prepare_duration(&self) -> Option<i64>
The total time in milliseconds that DataSync spent in the PREPARING phase.
sourcepub fn prepare_status(&self) -> Option<&PhaseStatus>
pub fn prepare_status(&self) -> Option<&PhaseStatus>
The status of the PREPARING phase.
sourcepub fn total_duration(&self) -> Option<i64>
pub fn 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) -> Option<i64>
pub fn transfer_duration(&self) -> Option<i64>
The total time in milliseconds that DataSync spent in the TRANSFERRING phase.
sourcepub fn transfer_status(&self) -> Option<&PhaseStatus>
pub fn transfer_status(&self) -> Option<&PhaseStatus>
The status of the TRANSFERRING phase.
sourcepub fn verify_duration(&self) -> Option<i64>
pub fn verify_duration(&self) -> Option<i64>
The total time in milliseconds that DataSync spent in the VERIFYING phase.
sourcepub fn verify_status(&self) -> Option<&PhaseStatus>
pub fn verify_status(&self) -> Option<&PhaseStatus>
The status of the VERIFYING phase.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
sourcepub fn error_detail(&self) -> Option<&str>
pub fn error_detail(&self) -> Option<&str>
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
source§impl TaskExecutionResultDetail
impl TaskExecutionResultDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TaskExecutionResultDetail
.
Trait Implementations§
source§impl Clone for TaskExecutionResultDetail
impl Clone for TaskExecutionResultDetail
source§fn clone(&self) -> TaskExecutionResultDetail
fn clone(&self) -> TaskExecutionResultDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TaskExecutionResultDetail
impl Debug for TaskExecutionResultDetail
source§impl PartialEq<TaskExecutionResultDetail> for TaskExecutionResultDetail
impl PartialEq<TaskExecutionResultDetail> for TaskExecutionResultDetail
source§fn eq(&self, other: &TaskExecutionResultDetail) -> bool
fn eq(&self, other: &TaskExecutionResultDetail) -> bool
self
and other
values to be equal, and is used
by ==
.