Struct aws_sdk_dynamodb::model::BackupDetails
source · [−]#[non_exhaustive]pub struct BackupDetails {
pub backup_arn: Option<String>,
pub backup_name: Option<String>,
pub backup_size_bytes: Option<i64>,
pub backup_status: Option<BackupStatus>,
pub backup_type: Option<BackupType>,
pub backup_creation_date_time: Option<DateTime>,
pub backup_expiry_date_time: Option<DateTime>,
}
Expand description
Contains the details of the backup created for the table.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.backup_arn: Option<String>
ARN associated with the backup.
backup_name: Option<String>
Name of the requested backup.
backup_size_bytes: Option<i64>
Size of the backup in bytes.
backup_status: Option<BackupStatus>
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
backup_type: Option<BackupType>
BackupType:
-
USER
- You create and manage these using the on-demand backup feature. -
SYSTEM
- If you delete a table with point-in-time recovery enabled, aSYSTEM
backup is automatically created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted table to the state it was in just before the point of deletion. -
AWS_BACKUP
- On-demand backup created by you from Backup service.
backup_creation_date_time: Option<DateTime>
Time at which the backup was created. This is the request time of the backup.
backup_expiry_date_time: Option<DateTime>
Time at which the automatic on-demand backup created by DynamoDB will expire. This SYSTEM
on-demand backup expires automatically 35 days after its creation.
Implementations
sourceimpl BackupDetails
impl BackupDetails
sourcepub fn backup_arn(&self) -> Option<&str>
pub fn backup_arn(&self) -> Option<&str>
ARN associated with the backup.
sourcepub fn backup_name(&self) -> Option<&str>
pub fn backup_name(&self) -> Option<&str>
Name of the requested backup.
sourcepub fn backup_size_bytes(&self) -> Option<i64>
pub fn backup_size_bytes(&self) -> Option<i64>
Size of the backup in bytes.
sourcepub fn backup_status(&self) -> Option<&BackupStatus>
pub fn backup_status(&self) -> Option<&BackupStatus>
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
sourcepub fn backup_type(&self) -> Option<&BackupType>
pub fn backup_type(&self) -> Option<&BackupType>
BackupType:
-
USER
- You create and manage these using the on-demand backup feature. -
SYSTEM
- If you delete a table with point-in-time recovery enabled, aSYSTEM
backup is automatically created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted table to the state it was in just before the point of deletion. -
AWS_BACKUP
- On-demand backup created by you from Backup service.
sourcepub fn backup_creation_date_time(&self) -> Option<&DateTime>
pub fn backup_creation_date_time(&self) -> Option<&DateTime>
Time at which the backup was created. This is the request time of the backup.
sourcepub fn backup_expiry_date_time(&self) -> Option<&DateTime>
pub fn backup_expiry_date_time(&self) -> Option<&DateTime>
Time at which the automatic on-demand backup created by DynamoDB will expire. This SYSTEM
on-demand backup expires automatically 35 days after its creation.
sourceimpl BackupDetails
impl BackupDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BackupDetails
Trait Implementations
sourceimpl Clone for BackupDetails
impl Clone for BackupDetails
sourcefn clone(&self) -> BackupDetails
fn clone(&self) -> BackupDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BackupDetails
impl Debug for BackupDetails
sourceimpl PartialEq<BackupDetails> for BackupDetails
impl PartialEq<BackupDetails> for BackupDetails
sourcefn eq(&self, other: &BackupDetails) -> bool
fn eq(&self, other: &BackupDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BackupDetails) -> bool
fn ne(&self, other: &BackupDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for BackupDetails
Auto Trait Implementations
impl RefUnwindSafe for BackupDetails
impl Send for BackupDetails
impl Sync for BackupDetails
impl Unpin for BackupDetails
impl UnwindSafe for BackupDetails
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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