public class BackupSummary
extends java.lang.Object
implements java.io.Serializable
Contains details for the backup.
Constructor and Description |
---|
BackupSummary() |
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 specified 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:
|
java.lang.String |
getTableArn()
ARN associated with the table.
|
java.lang.String |
getTableId()
Unique identifier for the table.
|
java.lang.String |
getTableName()
Name of the table.
|
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 specified 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:
|
void |
setTableArn(java.lang.String tableArn)
ARN associated with the table.
|
void |
setTableId(java.lang.String tableId)
Unique identifier for the table.
|
void |
setTableName(java.lang.String tableName)
Name of the table.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BackupSummary |
withBackupArn(java.lang.String backupArn)
ARN associated with the backup.
|
BackupSummary |
withBackupCreationDateTime(java.util.Date backupCreationDateTime)
Time at which the backup was created.
|
BackupSummary |
withBackupExpiryDateTime(java.util.Date backupExpiryDateTime)
Time at which the automatic on-demand backup created by DynamoDB will
expire.
|
BackupSummary |
withBackupName(java.lang.String backupName)
Name of the specified backup.
|
BackupSummary |
withBackupSizeBytes(java.lang.Long backupSizeBytes)
Size of the backup in bytes.
|
BackupSummary |
withBackupStatus(BackupStatus backupStatus)
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
|
BackupSummary |
withBackupStatus(java.lang.String backupStatus)
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
|
BackupSummary |
withBackupType(BackupType backupType)
BackupType:
|
BackupSummary |
withBackupType(java.lang.String backupType)
BackupType:
|
BackupSummary |
withTableArn(java.lang.String tableArn)
ARN associated with the table.
|
BackupSummary |
withTableId(java.lang.String tableId)
Unique identifier for the table.
|
BackupSummary |
withTableName(java.lang.String tableName)
Name of the table.
|
public java.lang.String getTableName()
Name of the table.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
Name of the table.
public void setTableName(java.lang.String tableName)
Name of the table.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName
- Name of the table.
public BackupSummary withTableName(java.lang.String tableName)
Name of the table.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName
- Name of the table.
public java.lang.String getTableId()
Unique identifier for the table.
Constraints:
Pattern:
[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
Unique identifier for the table.
public void setTableId(java.lang.String tableId)
Unique identifier for the table.
Constraints:
Pattern:
[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
tableId
- Unique identifier for the table.
public BackupSummary withTableId(java.lang.String tableId)
Unique identifier for the table.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern:
[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
tableId
- Unique identifier for the table.
public java.lang.String getTableArn()
ARN associated with the table.
ARN associated with the table.
public void setTableArn(java.lang.String tableArn)
ARN associated with the table.
tableArn
- ARN associated with the table.
public BackupSummary withTableArn(java.lang.String tableArn)
ARN associated with the table.
Returns a reference to this object so that method calls can be chained together.
tableArn
- ARN associated with the table.
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 BackupSummary 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 specified backup.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
Name of the specified backup.
public void setBackupName(java.lang.String backupName)
Name of the specified backup.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
backupName
- Name of the specified backup.
public BackupSummary withBackupName(java.lang.String backupName)
Name of the specified 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 specified backup.
public java.util.Date getBackupCreationDateTime()
Time at which the backup was created.
Time at which the backup was created.
public void setBackupCreationDateTime(java.util.Date backupCreationDateTime)
Time at which the backup was created.
backupCreationDateTime
- Time at which the backup was created.
public BackupSummary withBackupCreationDateTime(java.util.Date backupCreationDateTime)
Time at which the backup was created.
Returns a reference to this object so that method calls can be chained together.
backupCreationDateTime
- Time at which the backup was created.
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 BackupSummary 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 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 BackupSummary 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 BackupSummary 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 BackupSummary 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 BackupSummary 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.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 BackupSummary 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 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.