#[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 ==
.