#[non_exhaustive]pub struct ReplicationTaskStatsBuilder { /* private fields */ }
Expand description
A builder for ReplicationTaskStats
.
Implementations§
source§impl ReplicationTaskStatsBuilder
impl ReplicationTaskStatsBuilder
sourcepub fn full_load_progress_percent(self, input: i32) -> Self
pub fn full_load_progress_percent(self, input: i32) -> Self
The percent complete for the full load migration task.
sourcepub fn set_full_load_progress_percent(self, input: Option<i32>) -> Self
pub fn set_full_load_progress_percent(self, input: Option<i32>) -> Self
The percent complete for the full load migration task.
sourcepub fn get_full_load_progress_percent(&self) -> &Option<i32>
pub fn get_full_load_progress_percent(&self) -> &Option<i32>
The percent complete for the full load migration task.
sourcepub fn elapsed_time_millis(self, input: i64) -> Self
pub fn elapsed_time_millis(self, input: i64) -> Self
The elapsed time of the task, in milliseconds.
sourcepub fn set_elapsed_time_millis(self, input: Option<i64>) -> Self
pub fn set_elapsed_time_millis(self, input: Option<i64>) -> Self
The elapsed time of the task, in milliseconds.
sourcepub fn get_elapsed_time_millis(&self) -> &Option<i64>
pub fn get_elapsed_time_millis(&self) -> &Option<i64>
The elapsed time of the task, in milliseconds.
sourcepub fn tables_loaded(self, input: i32) -> Self
pub fn tables_loaded(self, input: i32) -> Self
The number of tables loaded for this task.
sourcepub fn set_tables_loaded(self, input: Option<i32>) -> Self
pub fn set_tables_loaded(self, input: Option<i32>) -> Self
The number of tables loaded for this task.
sourcepub fn get_tables_loaded(&self) -> &Option<i32>
pub fn get_tables_loaded(&self) -> &Option<i32>
The number of tables loaded for this task.
sourcepub fn tables_loading(self, input: i32) -> Self
pub fn tables_loading(self, input: i32) -> Self
The number of tables currently loading for this task.
sourcepub fn set_tables_loading(self, input: Option<i32>) -> Self
pub fn set_tables_loading(self, input: Option<i32>) -> Self
The number of tables currently loading for this task.
sourcepub fn get_tables_loading(&self) -> &Option<i32>
pub fn get_tables_loading(&self) -> &Option<i32>
The number of tables currently loading for this task.
sourcepub fn tables_queued(self, input: i32) -> Self
pub fn tables_queued(self, input: i32) -> Self
The number of tables queued for this task.
sourcepub fn set_tables_queued(self, input: Option<i32>) -> Self
pub fn set_tables_queued(self, input: Option<i32>) -> Self
The number of tables queued for this task.
sourcepub fn get_tables_queued(&self) -> &Option<i32>
pub fn get_tables_queued(&self) -> &Option<i32>
The number of tables queued for this task.
sourcepub fn tables_errored(self, input: i32) -> Self
pub fn tables_errored(self, input: i32) -> Self
The number of errors that have occurred during this task.
sourcepub fn set_tables_errored(self, input: Option<i32>) -> Self
pub fn set_tables_errored(self, input: Option<i32>) -> Self
The number of errors that have occurred during this task.
sourcepub fn get_tables_errored(&self) -> &Option<i32>
pub fn get_tables_errored(&self) -> &Option<i32>
The number of errors that have occurred during this task.
sourcepub fn fresh_start_date(self, input: DateTime) -> Self
pub fn fresh_start_date(self, input: DateTime) -> Self
The date the replication task was started either with a fresh start or a target reload.
sourcepub fn set_fresh_start_date(self, input: Option<DateTime>) -> Self
pub fn set_fresh_start_date(self, input: Option<DateTime>) -> Self
The date the replication task was started either with a fresh start or a target reload.
sourcepub fn get_fresh_start_date(&self) -> &Option<DateTime>
pub fn get_fresh_start_date(&self) -> &Option<DateTime>
The date the replication task was started either with a fresh start or a target reload.
sourcepub fn start_date(self, input: DateTime) -> Self
pub fn start_date(self, input: DateTime) -> Self
The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.
sourcepub fn set_start_date(self, input: Option<DateTime>) -> Self
pub fn set_start_date(self, input: Option<DateTime>) -> Self
The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.
sourcepub fn get_start_date(&self) -> &Option<DateTime>
pub fn get_start_date(&self) -> &Option<DateTime>
The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType.
sourcepub fn set_stop_date(self, input: Option<DateTime>) -> Self
pub fn set_stop_date(self, input: Option<DateTime>) -> Self
The date the replication task was stopped.
sourcepub fn get_stop_date(&self) -> &Option<DateTime>
pub fn get_stop_date(&self) -> &Option<DateTime>
The date the replication task was stopped.
sourcepub fn full_load_start_date(self, input: DateTime) -> Self
pub fn full_load_start_date(self, input: DateTime) -> Self
The date the replication task full load was started.
sourcepub fn set_full_load_start_date(self, input: Option<DateTime>) -> Self
pub fn set_full_load_start_date(self, input: Option<DateTime>) -> Self
The date the replication task full load was started.
sourcepub fn get_full_load_start_date(&self) -> &Option<DateTime>
pub fn get_full_load_start_date(&self) -> &Option<DateTime>
The date the replication task full load was started.
sourcepub fn full_load_finish_date(self, input: DateTime) -> Self
pub fn full_load_finish_date(self, input: DateTime) -> Self
The date the replication task full load was completed.
sourcepub fn set_full_load_finish_date(self, input: Option<DateTime>) -> Self
pub fn set_full_load_finish_date(self, input: Option<DateTime>) -> Self
The date the replication task full load was completed.
sourcepub fn get_full_load_finish_date(&self) -> &Option<DateTime>
pub fn get_full_load_finish_date(&self) -> &Option<DateTime>
The date the replication task full load was completed.
sourcepub fn build(self) -> ReplicationTaskStats
pub fn build(self) -> ReplicationTaskStats
Consumes the builder and constructs a ReplicationTaskStats
.
Trait Implementations§
source§impl Clone for ReplicationTaskStatsBuilder
impl Clone for ReplicationTaskStatsBuilder
source§fn clone(&self) -> ReplicationTaskStatsBuilder
fn clone(&self) -> ReplicationTaskStatsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationTaskStatsBuilder
impl Debug for ReplicationTaskStatsBuilder
source§impl Default for ReplicationTaskStatsBuilder
impl Default for ReplicationTaskStatsBuilder
source§fn default() -> ReplicationTaskStatsBuilder
fn default() -> ReplicationTaskStatsBuilder
source§impl PartialEq for ReplicationTaskStatsBuilder
impl PartialEq for ReplicationTaskStatsBuilder
source§fn eq(&self, other: &ReplicationTaskStatsBuilder) -> bool
fn eq(&self, other: &ReplicationTaskStatsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplicationTaskStatsBuilder
Auto Trait Implementations§
impl Freeze for ReplicationTaskStatsBuilder
impl RefUnwindSafe for ReplicationTaskStatsBuilder
impl Send for ReplicationTaskStatsBuilder
impl Sync for ReplicationTaskStatsBuilder
impl Unpin for ReplicationTaskStatsBuilder
impl UnwindSafe for ReplicationTaskStatsBuilder
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