Class ArchivalSummary
- java.lang.Object
-
- software.amazon.awssdk.services.dynamodb.model.ArchivalSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ArchivalSummary.Builder,ArchivalSummary>
@Generated("software.amazon.awssdk:codegen") public final class ArchivalSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ArchivalSummary.Builder,ArchivalSummary>
Contains details of a table archival operation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceArchivalSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringarchivalBackupArn()The Amazon Resource Name (ARN) of the backup the table was archived to, when applicable in the archival reason.InstantarchivalDateTime()The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.StringarchivalReason()The reason DynamoDB archived the table.static ArchivalSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ArchivalSummary.Builder>serializableBuilderClass()ArchivalSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
archivalDateTime
public final Instant archivalDateTime()
The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.
- Returns:
- The date and time when table archival was initiated by DynamoDB, in UNIX epoch time format.
-
archivalReason
public final 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.
- Returns:
- 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.
-
-
-
archivalBackupArn
public final 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.
- Returns:
- 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.
-
toBuilder
public ArchivalSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ArchivalSummary.Builder,ArchivalSummary>
-
builder
public static ArchivalSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ArchivalSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-