Struct aws_sdk_dynamodb::types::builders::BackupDetailsBuilder
source · #[non_exhaustive]pub struct BackupDetailsBuilder { /* private fields */ }
Expand description
A builder for BackupDetails
.
Implementations§
source§impl BackupDetailsBuilder
impl BackupDetailsBuilder
sourcepub fn backup_arn(self, input: impl Into<String>) -> Self
pub fn backup_arn(self, input: impl Into<String>) -> Self
ARN associated with the backup.
sourcepub fn set_backup_arn(self, input: Option<String>) -> Self
pub fn set_backup_arn(self, input: Option<String>) -> Self
ARN associated with the backup.
sourcepub fn get_backup_arn(&self) -> &Option<String>
pub fn get_backup_arn(&self) -> &Option<String>
ARN associated with the backup.
sourcepub fn backup_name(self, input: impl Into<String>) -> Self
pub fn backup_name(self, input: impl Into<String>) -> Self
Name of the requested backup.
sourcepub fn set_backup_name(self, input: Option<String>) -> Self
pub fn set_backup_name(self, input: Option<String>) -> Self
Name of the requested backup.
sourcepub fn get_backup_name(&self) -> &Option<String>
pub fn get_backup_name(&self) -> &Option<String>
Name of the requested backup.
sourcepub fn backup_size_bytes(self, input: i64) -> Self
pub fn backup_size_bytes(self, input: i64) -> Self
Size of the backup in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
sourcepub fn set_backup_size_bytes(self, input: Option<i64>) -> Self
pub fn set_backup_size_bytes(self, input: Option<i64>) -> Self
Size of the backup in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
sourcepub fn get_backup_size_bytes(&self) -> &Option<i64>
pub fn get_backup_size_bytes(&self) -> &Option<i64>
Size of the backup in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
sourcepub fn backup_status(self, input: BackupStatus) -> Self
pub fn backup_status(self, input: BackupStatus) -> Self
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
sourcepub fn set_backup_status(self, input: Option<BackupStatus>) -> Self
pub fn set_backup_status(self, input: Option<BackupStatus>) -> Self
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
sourcepub fn get_backup_status(&self) -> &Option<BackupStatus>
pub fn get_backup_status(&self) -> &Option<BackupStatus>
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
sourcepub fn backup_type(self, input: BackupType) -> Self
pub fn backup_type(self, input: BackupType) -> Self
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 set_backup_type(self, input: Option<BackupType>) -> Self
pub fn set_backup_type(self, input: Option<BackupType>) -> Self
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 get_backup_type(&self) -> &Option<BackupType>
pub fn get_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, input: DateTime) -> Self
pub fn backup_creation_date_time(self, input: DateTime) -> Self
Time at which the backup was created. This is the request time of the backup.
sourcepub fn set_backup_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_backup_creation_date_time(self, input: Option<DateTime>) -> Self
Time at which the backup was created. This is the request time of the backup.
sourcepub fn get_backup_creation_date_time(&self) -> &Option<DateTime>
pub fn get_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, input: DateTime) -> Self
pub fn backup_expiry_date_time(self, input: DateTime) -> Self
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.
sourcepub fn set_backup_expiry_date_time(self, input: Option<DateTime>) -> Self
pub fn set_backup_expiry_date_time(self, input: Option<DateTime>) -> Self
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.
sourcepub fn get_backup_expiry_date_time(&self) -> &Option<DateTime>
pub fn get_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.
sourcepub fn build(self) -> BackupDetails
pub fn build(self) -> BackupDetails
Consumes the builder and constructs a BackupDetails
.
Trait Implementations§
source§impl Clone for BackupDetailsBuilder
impl Clone for BackupDetailsBuilder
source§fn clone(&self) -> BackupDetailsBuilder
fn clone(&self) -> BackupDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BackupDetailsBuilder
impl Debug for BackupDetailsBuilder
source§impl Default for BackupDetailsBuilder
impl Default for BackupDetailsBuilder
source§fn default() -> BackupDetailsBuilder
fn default() -> BackupDetailsBuilder
source§impl PartialEq<BackupDetailsBuilder> for BackupDetailsBuilder
impl PartialEq<BackupDetailsBuilder> for BackupDetailsBuilder
source§fn eq(&self, other: &BackupDetailsBuilder) -> bool
fn eq(&self, other: &BackupDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.