public class BackupDetails
extends java.lang.Object
implements java.io.Serializable
Contains the details of the backup created for the table.
Constructor and Description |
---|
BackupDetails() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBackupArn()
ARN associated with the backup.
|
java.util.Date |
getBackupCreationDateTime()
Time at which the backup was created.
|
java.util.Date |
getBackupExpiryDateTime()
Time at which the automatic on-demand backup created by DynamoDB will
expire.
|
java.lang.String |
getBackupName()
Name of the requested backup.
|
java.lang.Long |
getBackupSizeBytes()
Size of the backup in bytes.
|
java.lang.String |
getBackupStatus()
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
|
java.lang.String |
getBackupType()
BackupType:
|
int |
hashCode() |
void |
setBackupArn(java.lang.String backupArn)
ARN associated with the backup.
|
void |
setBackupCreationDateTime(java.util.Date backupCreationDateTime)
Time at which the backup was created.
|
void |
setBackupExpiryDateTime(java.util.Date backupExpiryDateTime)
Time at which the automatic on-demand backup created by DynamoDB will
expire.
|
void |
setBackupName(java.lang.String backupName)
Name of the requested backup.
|
void |
setBackupSizeBytes(java.lang.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(java.lang.String backupStatus)
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
|
void |
setBackupType(BackupType backupType)
BackupType:
|
void |
setBackupType(java.lang.String backupType)
BackupType:
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BackupDetails |
withBackupArn(java.lang.String backupArn)
ARN associated with the backup.
|
BackupDetails |
withBackupCreationDateTime(java.util.Date backupCreationDateTime)
Time at which the backup was created.
|
BackupDetails |
withBackupExpiryDateTime(java.util.Date backupExpiryDateTime)
Time at which the automatic on-demand backup created by DynamoDB will
expire.
|
BackupDetails |
withBackupName(java.lang.String backupName)
Name of the requested backup.
|
BackupDetails |
withBackupSizeBytes(java.lang.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(java.lang.String backupStatus)
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
|
BackupDetails |
withBackupType(BackupType backupType)
BackupType:
|
BackupDetails |
withBackupType(java.lang.String backupType)
BackupType:
|
public java.lang.String getBackupArn()
ARN associated with the backup.
Constraints:
Length: 37 - 1024
ARN associated with the backup.
public void setBackupArn(java.lang.String backupArn)
ARN associated with the backup.
Constraints:
Length: 37 - 1024
backupArn
- ARN associated with the backup.
public BackupDetails withBackupArn(java.lang.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 java.lang.String getBackupName()
Name of the requested backup.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
Name of the requested backup.
public void setBackupName(java.lang.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(java.lang.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 java.lang.Long getBackupSizeBytes()
Size of the backup in bytes.
Constraints:
Range: 0 -
Size of the backup in bytes.
public void setBackupSizeBytes(java.lang.Long backupSizeBytes)
Size of the backup in bytes.
Constraints:
Range: 0 -
backupSizeBytes
- Size of the backup in bytes.
public BackupDetails withBackupSizeBytes(java.lang.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 java.lang.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.
BackupStatus
public void setBackupStatus(java.lang.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.
BackupStatus
public BackupDetails withBackupStatus(java.lang.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.
BackupStatus
public 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.
BackupStatus
public 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.
BackupStatus
public java.lang.String getBackupType()
BackupType:
USER
- On-demand backup created by you.
SYSTEM
- On-demand backup automatically created by DynamoDB.
Constraints:
Allowed Values: USER, SYSTEM
BackupType:
USER
- On-demand backup created by you.
SYSTEM
- On-demand backup automatically created by
DynamoDB.
BackupType
public void setBackupType(java.lang.String backupType)
BackupType:
USER
- On-demand backup created by you.
SYSTEM
- On-demand backup automatically created by DynamoDB.
Constraints:
Allowed Values: USER, SYSTEM
backupType
- BackupType:
USER
- On-demand backup created by you.
SYSTEM
- On-demand backup automatically created
by DynamoDB.
BackupType
public BackupDetails withBackupType(java.lang.String backupType)
BackupType:
USER
- On-demand backup created by you.
SYSTEM
- On-demand backup automatically created by DynamoDB.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: USER, SYSTEM
backupType
- BackupType:
USER
- On-demand backup created by you.
SYSTEM
- On-demand backup automatically created
by DynamoDB.
BackupType
public void setBackupType(BackupType backupType)
BackupType:
USER
- On-demand backup created by you.
SYSTEM
- On-demand backup automatically created by DynamoDB.
Constraints:
Allowed Values: USER, SYSTEM
backupType
- BackupType:
USER
- On-demand backup created by you.
SYSTEM
- On-demand backup automatically created
by DynamoDB.
BackupType
public BackupDetails withBackupType(BackupType backupType)
BackupType:
USER
- On-demand backup created by you.
SYSTEM
- On-demand backup automatically created by DynamoDB.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: USER, SYSTEM
backupType
- BackupType:
USER
- On-demand backup created by you.
SYSTEM
- On-demand backup automatically created
by DynamoDB.
BackupType
public java.util.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(java.util.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(java.util.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 java.util.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.
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 void setBackupExpiryDateTime(java.util.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 BackupDetails withBackupExpiryDateTime(java.util.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.