Class PointInTimeRecoveryDescription
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PointInTimeRecoveryDescription.Builder,PointInTimeRecoveryDescription>
The description of the point in time settings applied to the table.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final InstantSpecifies the earliest point in time you can restore your table to.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantLatestRestorableDateTimeis typically 5 minutes before the current time.The current state of point in time recovery:final StringThe current state of point in time recovery:final IntegerThe number of preceding days for which continuous backups are taken and maintained.static Class<? extends PointInTimeRecoveryDescription.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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:
-
-
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:
-
-
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
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
LatestRestorableDateTimeis typically 5 minutes before the current time.- Returns:
LatestRestorableDateTimeis typically 5 minutes before the current time.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<PointInTimeRecoveryDescription.Builder,PointInTimeRecoveryDescription>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-