public class BackupDetails extends Object implements Serializable
Contains the details of the backup created for the table.
| Constructor and Description |
|---|
BackupDetails() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBackupArn()
ARN associated with the backup.
|
Date |
getBackupCreationDateTime()
Time at which the backup was created.
|
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.
|
int |
hashCode() |
void |
setBackupArn(String backupArn)
ARN associated with the backup.
|
void |
setBackupCreationDateTime(Date backupCreationDateTime)
Time at which the backup was created.
|
void |
setBackupName(String backupName)
Name of the requested backup.
|
void |
setBackupSizeBytes(Long backupSizeBytes)
Size of the backup in bytes.
|
void |
setBackupStatus(BackupStatus backupStatus)
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
|
void |
setBackupStatus(String backupStatus)
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BackupDetails |
withBackupArn(String backupArn)
ARN associated with the backup.
|
BackupDetails |
withBackupCreationDateTime(Date backupCreationDateTime)
Time at which the backup was created.
|
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.
|
public String getBackupArn()
ARN associated with the backup.
Constraints:
Length: 37 - 1024
ARN associated with the backup.
public void setBackupArn(String backupArn)
ARN associated with the backup.
Constraints:
Length: 37 - 1024
backupArn - ARN associated with the backup.
public BackupDetails withBackupArn(String backupArn)
ARN associated with the backup.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 37 - 1024
backupArn - ARN associated with the backup.
public String getBackupName()
Name of the requested backup.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
Name of the requested backup.
public void setBackupName(String backupName)
Name of the requested backup.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
backupName - Name of the requested backup.
public BackupDetails withBackupName(String backupName)
Name of the requested backup.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
backupName - Name of the requested backup.
public Long getBackupSizeBytes()
Size of the backup in bytes.
Constraints:
Range: 0 -
Size of the backup in bytes.
public void setBackupSizeBytes(Long backupSizeBytes)
Size of the backup in bytes.
Constraints:
Range: 0 -
backupSizeBytes - Size of the backup in bytes.
public BackupDetails withBackupSizeBytes(Long backupSizeBytes)
Size of the backup in bytes.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
backupSizeBytes - Size of the backup in bytes.
public String getBackupStatus()
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
Constraints:
Allowed Values: CREATING, DELETED, AVAILABLE
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
BackupStatuspublic void setBackupStatus(String backupStatus)
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
Constraints:
Allowed Values: CREATING, DELETED, AVAILABLE
backupStatus - 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, DELETED, AVAILABLE
backupStatus - Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
BackupStatuspublic void setBackupStatus(BackupStatus backupStatus)
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
Constraints:
Allowed Values: CREATING, DELETED, AVAILABLE
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, DELETED, AVAILABLE
backupStatus - Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
BackupStatuspublic Date getBackupCreationDateTime()
Time at which the backup was created. This is the request time of the backup.
Time at which the backup was created. This is the request time of the backup.
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 BackupDetails withBackupCreationDateTime(Date backupCreationDateTime)
Time at which the backup was created. This is the request time of the backup.
Returns a reference to this object so that method calls can be chained together.
backupCreationDateTime - Time at which the backup was created. This is the request time of the backup.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.