Class PointInTimeRecoveryDescription
- java.lang.Object
-
- software.amazon.awssdk.services.dynamodb.model.PointInTimeRecoveryDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PointInTimeRecoveryDescription.Builder,PointInTimeRecoveryDescription>
@Generated("software.amazon.awssdk:codegen") public final class PointInTimeRecoveryDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PointInTimeRecoveryDescription.Builder,PointInTimeRecoveryDescription>
The description of the point in time settings applied to the table.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePointInTimeRecoveryDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PointInTimeRecoveryDescription.Builderbuilder()InstantearliestRestorableDateTime()Specifies the earliest point in time you can restore your table to.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlatestRestorableDateTime()LatestRestorableDateTimeis typically 5 minutes before the current time.PointInTimeRecoveryStatuspointInTimeRecoveryStatus()The current state of point in time recovery:StringpointInTimeRecoveryStatusAsString()The current state of point in time recovery:IntegerrecoveryPeriodInDays()The number of preceding days for which continuous backups are taken and maintained.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PointInTimeRecoveryDescription.Builder>serializableBuilderClass()PointInTimeRecoveryDescription.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
-
pointInTimeRecoveryStatus
public final PointInTimeRecoveryStatus pointInTimeRecoveryStatus()
The current state of point in time recovery:
-
ENABLED- Point in time recovery is enabled. -
DISABLED- Point in time recovery is disabled.
If the service returns an enum value that is not available in the current SDK version,
pointInTimeRecoveryStatuswill returnPointInTimeRecoveryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompointInTimeRecoveryStatusAsString().- Returns:
- The current state of point in time recovery:
-
ENABLED- Point in time recovery is enabled. -
DISABLED- Point in time recovery is disabled.
-
- See Also:
PointInTimeRecoveryStatus
-
-
pointInTimeRecoveryStatusAsString
public final String pointInTimeRecoveryStatusAsString()
The current state of point in time recovery:
-
ENABLED- Point in time recovery is enabled. -
DISABLED- Point in time recovery is disabled.
If the service returns an enum value that is not available in the current SDK version,
pointInTimeRecoveryStatuswill returnPointInTimeRecoveryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompointInTimeRecoveryStatusAsString().- Returns:
- The current state of point in time recovery:
-
ENABLED- Point in time recovery is enabled. -
DISABLED- Point in time recovery is disabled.
-
- See Also:
PointInTimeRecoveryStatus
-
-
recoveryPeriodInDays
public final Integer recoveryPeriodInDays()
The number of preceding days for which continuous backups are taken and maintained. Your table data is only recoverable to any point-in-time from within the configured recovery period. This parameter is optional.
- Returns:
- The number of preceding days for which continuous backups are taken and maintained. Your table data is only recoverable to any point-in-time from within the configured recovery period. This parameter is optional.
-
earliestRestorableDateTime
public final Instant earliestRestorableDateTime()
Specifies the earliest point in time you can restore your table to. You can restore your table to any point in time during the last 35 days.
- Returns:
- Specifies the earliest point in time you can restore your table to. You can restore your table to any point in time during the last 35 days.
-
latestRestorableDateTime
public final Instant latestRestorableDateTime()
LatestRestorableDateTimeis typically 5 minutes before the current time.- Returns:
LatestRestorableDateTimeis typically 5 minutes before the current time.
-
toBuilder
public PointInTimeRecoveryDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PointInTimeRecoveryDescription.Builder,PointInTimeRecoveryDescription>
-
builder
public static PointInTimeRecoveryDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends PointInTimeRecoveryDescription.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
-
-