@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BackupDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains the details of the backup created for the table.
| Constructor and Description |
|---|
BackupDetails() |
| Modifier and Type | Method and Description |
|---|---|
BackupDetails |
clone() |
boolean |
equals(Object obj) |
String |
getBackupArn()
ARN associated with the backup.
|
Date |
getBackupCreationDateTime()
Time at which the backup was created.
|
Date |
getBackupExpiryDateTime()
Time at which the automatic on-demand backup created by DynamoDB will expire.
|
String |
getBackupName()
Name of the requested backup.
|
Long |
getBackupSizeBytes()
Size of the backup in bytes.
|
String |
getBackupStatus()
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
|
String |
getBackupType()
BackupType:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBackupArn(String backupArn)
ARN associated with the backup.
|
void |
setBackupCreationDateTime(Date backupCreationDateTime)
Time at which the backup was created.
|
void |
setBackupExpiryDateTime(Date backupExpiryDateTime)
Time at which the automatic on-demand backup created by DynamoDB will expire.
|
void |
setBackupName(String backupName)
Name of the requested backup.
|
void |
setBackupSizeBytes(Long backupSizeBytes)
Size of the backup in bytes.
|
void |
setBackupStatus(String backupStatus)
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
|
void |
setBackupType(String backupType)
BackupType:
|
String |
toString()
Returns a string representation of this object.
|
BackupDetails |
withBackupArn(String backupArn)
ARN associated with the backup.
|
BackupDetails |
withBackupCreationDateTime(Date backupCreationDateTime)
Time at which the backup was created.
|
BackupDetails |
withBackupExpiryDateTime(Date backupExpiryDateTime)
Time at which the automatic on-demand backup created by DynamoDB will expire.
|
BackupDetails |
withBackupName(String backupName)
Name of the requested backup.
|
BackupDetails |
withBackupSizeBytes(Long backupSizeBytes)
Size of the backup in bytes.
|
BackupDetails |
withBackupStatus(BackupStatus backupStatus)
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
|
BackupDetails |
withBackupStatus(String backupStatus)
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
|
BackupDetails |
withBackupType(BackupType backupType)
BackupType:
|
BackupDetails |
withBackupType(String backupType)
BackupType:
|
public void setBackupArn(String backupArn)
ARN associated with the backup.
backupArn - ARN associated with the backup.public String getBackupArn()
ARN associated with the backup.
public BackupDetails withBackupArn(String backupArn)
ARN associated with the backup.
backupArn - ARN associated with the backup.public void setBackupName(String backupName)
Name of the requested backup.
backupName - Name of the requested backup.public String getBackupName()
Name of the requested backup.
public BackupDetails withBackupName(String backupName)
Name of the requested backup.
backupName - Name of the requested backup.public void setBackupSizeBytes(Long backupSizeBytes)
Size of the backup in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
backupSizeBytes - Size of the backup in bytes. DynamoDB updates this value approximately every six hours. Recent changes
might not be reflected in this value.public Long getBackupSizeBytes()
Size of the backup in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
public BackupDetails withBackupSizeBytes(Long backupSizeBytes)
Size of the backup in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
backupSizeBytes - Size of the backup in bytes. DynamoDB updates this value approximately every six hours. Recent changes
might not be reflected in this value.public void setBackupStatus(String backupStatus)
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
backupStatus - Backup can be in one of the following states: CREATING, ACTIVE, DELETED.BackupStatuspublic String getBackupStatus()
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
BackupStatuspublic BackupDetails withBackupStatus(String backupStatus)
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
backupStatus - Backup can be in one of the following states: CREATING, ACTIVE, DELETED.BackupStatuspublic BackupDetails withBackupStatus(BackupStatus backupStatus)
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
backupStatus - Backup can be in one of the following states: CREATING, ACTIVE, DELETED.BackupStatuspublic void setBackupType(String 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.
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.
BackupTypepublic String getBackupType()
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.
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.
BackupTypepublic BackupDetails withBackupType(String 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.
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.
BackupTypepublic BackupDetails withBackupType(BackupType 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.
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.
BackupTypepublic void setBackupCreationDateTime(Date backupCreationDateTime)
Time at which the backup was created. This is the request time of the backup.
backupCreationDateTime - Time at which the backup was created. This is the request time of the backup.public Date getBackupCreationDateTime()
Time at which the backup was created. This is the request time of the backup.
public BackupDetails withBackupCreationDateTime(Date backupCreationDateTime)
Time at which the backup was created. This is the request time of the backup.
backupCreationDateTime - Time at which the backup was created. This is the request time of the backup.public void setBackupExpiryDateTime(Date backupExpiryDateTime)
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.
backupExpiryDateTime - 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.public Date getBackupExpiryDateTime()
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.
SYSTEM
on-demand backup expires automatically 35 days after its creation.public BackupDetails withBackupExpiryDateTime(Date backupExpiryDateTime)
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.
backupExpiryDateTime - 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.public String toString()
toString in class ObjectObject.toString()public BackupDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.