@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ArchivalSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains details of a table archival operation.
Constructor and Description |
---|
ArchivalSummary() |
Modifier and Type | Method and Description |
---|---|
ArchivalSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArchivalBackupArn()
The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival reason.
|
Date |
getArchivalDateTime()
The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.
|
String |
getArchivalReason()
The reason DynamoDB archived the table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArchivalBackupArn(String archivalBackupArn)
The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival reason.
|
void |
setArchivalDateTime(Date archivalDateTime)
The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.
|
void |
setArchivalReason(String archivalReason)
The reason DynamoDB archived the table.
|
String |
toString()
Returns a string representation of this object.
|
ArchivalSummary |
withArchivalBackupArn(String archivalBackupArn)
The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival reason.
|
ArchivalSummary |
withArchivalDateTime(Date archivalDateTime)
The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.
|
ArchivalSummary |
withArchivalReason(String archivalReason)
The reason DynamoDB archived the table.
|
public void setArchivalDateTime(Date archivalDateTime)
The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.
archivalDateTime
- The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.public Date getArchivalDateTime()
The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.
public ArchivalSummary withArchivalDateTime(Date archivalDateTime)
The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.
archivalDateTime
- The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.public void setArchivalReason(String archivalReason)
The reason DynamoDB archived the table. Currently, the only possible value is:
INACCESSIBLE_ENCRYPTION_CREDENTIALS
- The table was archived due to the table's KMS key being
inaccessible for more than seven days. An On-Demand backup was created at the archival time.
archivalReason
- The reason DynamoDB archived the table. Currently, the only possible value is:
INACCESSIBLE_ENCRYPTION_CREDENTIALS
- The table was archived due to the table's KMS key being
inaccessible for more than seven days. An On-Demand backup was created at the archival time.
public String getArchivalReason()
The reason DynamoDB archived the table. Currently, the only possible value is:
INACCESSIBLE_ENCRYPTION_CREDENTIALS
- The table was archived due to the table's KMS key being
inaccessible for more than seven days. An On-Demand backup was created at the archival time.
INACCESSIBLE_ENCRYPTION_CREDENTIALS
- The table was archived due to the table's KMS key
being inaccessible for more than seven days. An On-Demand backup was created at the archival time.
public ArchivalSummary withArchivalReason(String archivalReason)
The reason DynamoDB archived the table. Currently, the only possible value is:
INACCESSIBLE_ENCRYPTION_CREDENTIALS
- The table was archived due to the table's KMS key being
inaccessible for more than seven days. An On-Demand backup was created at the archival time.
archivalReason
- The reason DynamoDB archived the table. Currently, the only possible value is:
INACCESSIBLE_ENCRYPTION_CREDENTIALS
- The table was archived due to the table's KMS key being
inaccessible for more than seven days. An On-Demand backup was created at the archival time.
public void setArchivalBackupArn(String archivalBackupArn)
The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival reason. If you wish to restore this backup to the same table name, you will need to delete the original table.
archivalBackupArn
- The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival
reason. If you wish to restore this backup to the same table name, you will need to delete the original
table.public String getArchivalBackupArn()
The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival reason. If you wish to restore this backup to the same table name, you will need to delete the original table.
public ArchivalSummary withArchivalBackupArn(String archivalBackupArn)
The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival reason. If you wish to restore this backup to the same table name, you will need to delete the original table.
archivalBackupArn
- The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival
reason. If you wish to restore this backup to the same table name, you will need to delete the original
table.public String toString()
toString
in class Object
Object.toString()
public ArchivalSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.