@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) |
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.
backupSizeBytes
- Size of the backup in bytes.public Long getBackupSizeBytes()
Size of the backup in bytes.
public BackupDetails withBackupSizeBytes(Long backupSizeBytes)
Size of the backup in bytes.
backupSizeBytes
- Size of the backup in bytes.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.BackupStatus
public String getBackupStatus()
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
BackupStatus
public 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.BackupStatus
public 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.BackupStatus
public 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 AWS 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 AWS Backup service.
BackupType
public 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 AWS 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 AWS Backup service.
BackupType
public 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 AWS 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 AWS Backup service.
BackupType
public 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 AWS 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 AWS Backup service.
BackupType
public 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 Object
Object.toString()
public BackupDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.