pub struct Builder { /* private fields */ }
Expand description
A builder for AwsRedshiftClusterRestoreStatus
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn current_restore_rate_in_mega_bytes_per_second(self, input: f64) -> Self
pub fn current_restore_rate_in_mega_bytes_per_second(self, input: f64) -> Self
The number of megabytes per second being transferred from the backup storage. Returns the average rate for a completed backup.
This field is only updated when you restore to DC2 and DS2 node types.
sourcepub fn set_current_restore_rate_in_mega_bytes_per_second(
self,
input: Option<f64>
) -> Self
pub fn set_current_restore_rate_in_mega_bytes_per_second(
self,
input: Option<f64>
) -> Self
The number of megabytes per second being transferred from the backup storage. Returns the average rate for a completed backup.
This field is only updated when you restore to DC2 and DS2 node types.
sourcepub fn elapsed_time_in_seconds(self, input: i64) -> Self
pub fn elapsed_time_in_seconds(self, input: i64) -> Self
The amount of time an in-progress restore has been running, or the amount of time it took a completed restore to finish.
This field is only updated when you restore to DC2 and DS2 node types.
sourcepub fn set_elapsed_time_in_seconds(self, input: Option<i64>) -> Self
pub fn set_elapsed_time_in_seconds(self, input: Option<i64>) -> Self
The amount of time an in-progress restore has been running, or the amount of time it took a completed restore to finish.
This field is only updated when you restore to DC2 and DS2 node types.
sourcepub fn estimated_time_to_completion_in_seconds(self, input: i64) -> Self
pub fn estimated_time_to_completion_in_seconds(self, input: i64) -> Self
The estimate of the time remaining before the restore is complete. Returns 0 for a completed restore.
This field is only updated when you restore to DC2 and DS2 node types.
sourcepub fn set_estimated_time_to_completion_in_seconds(
self,
input: Option<i64>
) -> Self
pub fn set_estimated_time_to_completion_in_seconds(
self,
input: Option<i64>
) -> Self
The estimate of the time remaining before the restore is complete. Returns 0 for a completed restore.
This field is only updated when you restore to DC2 and DS2 node types.
sourcepub fn progress_in_mega_bytes(self, input: i64) -> Self
pub fn progress_in_mega_bytes(self, input: i64) -> Self
The number of megabytes that were transferred from snapshot storage.
This field is only updated when you restore to DC2 and DS2 node types.
sourcepub fn set_progress_in_mega_bytes(self, input: Option<i64>) -> Self
pub fn set_progress_in_mega_bytes(self, input: Option<i64>) -> Self
The number of megabytes that were transferred from snapshot storage.
This field is only updated when you restore to DC2 and DS2 node types.
sourcepub fn snapshot_size_in_mega_bytes(self, input: i64) -> Self
pub fn snapshot_size_in_mega_bytes(self, input: i64) -> Self
The size of the set of snapshot data that was used to restore the cluster.
This field is only updated when you restore to DC2 and DS2 node types.
sourcepub fn set_snapshot_size_in_mega_bytes(self, input: Option<i64>) -> Self
pub fn set_snapshot_size_in_mega_bytes(self, input: Option<i64>) -> Self
The size of the set of snapshot data that was used to restore the cluster.
This field is only updated when you restore to DC2 and DS2 node types.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the restore action.
Valid values: starting
| restoring
| completed
| failed
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the restore action.
Valid values: starting
| restoring
| completed
| failed
sourcepub fn build(self) -> AwsRedshiftClusterRestoreStatus
pub fn build(self) -> AwsRedshiftClusterRestoreStatus
Consumes the builder and constructs a AwsRedshiftClusterRestoreStatus
.
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