class Amazonite::DynamoDB::BackupDetails

Overview

Contains the details of the backup created for the table.

Included Modules

Defined in:

dynamodb/backup_details.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(backup_arn : String, backup_name : String, backup_status : BackupStatus, backup_type : BackupType, backup_creation_date_time : Time, backup_size_bytes : Int64 | Nil = nil, backup_expiry_date_time : Time | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def backup_arn : String #

ARN associated with the backup.


[View source]
def backup_arn=(backup_arn : String) #

ARN associated with the backup.


[View source]
def backup_creation_date_time : Time #

Time at which the backup was created. This is the request time of the backup.


[View source]
def backup_creation_date_time=(backup_creation_date_time : Time) #

Time at which the backup was created. This is the request time of the backup.


[View source]
def backup_expiry_date_time : Time | Nil #

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.


[View source]
def backup_expiry_date_time=(backup_expiry_date_time : Time | Nil) #

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.


[View source]
def backup_name : String #

Name of the requested backup.


[View source]
def backup_name=(backup_name : String) #

Name of the requested backup.


[View source]
def backup_size_bytes : Int64 | Nil #

Size of the backup in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.


[View source]
def backup_size_bytes=(backup_size_bytes : Int64 | Nil) #

Size of the backup in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.


[View source]
def backup_status : BackupStatus #

Backup can be in one of the following states: CREATING, ACTIVE, DELETED.


[View source]
def backup_status=(backup_status : BackupStatus) #

Backup can be in one of the following states: CREATING, ACTIVE, DELETED.


[View source]
def backup_type : 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, a SYSTEM 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.


[View source]
def backup_type=(backup_type : 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, a SYSTEM 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.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def validate! : Nil #

[View source]