@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
PointInTimeRecoveryDescription.Builder |
Modifier and Type | Method and Description |
---|---|
static PointInTimeRecoveryDescription.Builder |
builder() |
Instant |
earliestRestorableDateTime()
Specifies the earliest point in time you can restore your table to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
latestRestorableDateTime()
LatestRestorableDateTime is typically 5 minutes before the current time. |
PointInTimeRecoveryStatus |
pointInTimeRecoveryStatus()
The current state of point in time recovery:
|
String |
pointInTimeRecoveryStatusAsString()
The current state of point in time recovery:
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PointInTimeRecoveryDescription.Builder> |
serializableBuilderClass() |
PointInTimeRecoveryDescription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
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,
pointInTimeRecoveryStatus
will return PointInTimeRecoveryStatus.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from pointInTimeRecoveryStatusAsString()
.
ENABLED
- Point in time recovery is enabled.
DISABLED
- Point in time recovery is disabled.
PointInTimeRecoveryStatus
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,
pointInTimeRecoveryStatus
will return PointInTimeRecoveryStatus.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from pointInTimeRecoveryStatusAsString()
.
ENABLED
- Point in time recovery is enabled.
DISABLED
- Point in time recovery is disabled.
PointInTimeRecoveryStatus
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.
public final Instant latestRestorableDateTime()
LatestRestorableDateTime
is typically 5 minutes before the current time.
LatestRestorableDateTime
is typically 5 minutes before the current time.public PointInTimeRecoveryDescription.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<PointInTimeRecoveryDescription.Builder,PointInTimeRecoveryDescription>
public static PointInTimeRecoveryDescription.Builder builder()
public static Class<? extends PointInTimeRecoveryDescription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.