@Generated(value="software.amazon.awssdk:codegen") public final class PointInTimeRecoveryDescription extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
latestRestorableDateTime()
LatestRestorableDateTime is typically 5 minutes before the current time. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
PointInTimeRecoveryStatus |
pointInTimeRecoveryStatus()
The current state of point in time recovery:
|
String |
pointInTimeRecoveryStatusAsString()
The current state of point in time recovery:
|
static Class<? extends PointInTimeRecoveryDescription.Builder> |
serializableBuilderClass() |
PointInTimeRecoveryDescription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public PointInTimeRecoveryStatus pointInTimeRecoveryStatus()
The current state of point in time recovery:
ENABLING
- Point in time recovery is being enabled.
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()
.
ENABLING
- Point in time recovery is being enabled.
ENABLED
- Point in time recovery is enabled.
DISABLED
- Point in time recovery is disabled.
PointInTimeRecoveryStatus
public String pointInTimeRecoveryStatusAsString()
The current state of point in time recovery:
ENABLING
- Point in time recovery is being enabled.
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()
.
ENABLING
- Point in time recovery is being enabled.
ENABLED
- Point in time recovery is enabled.
DISABLED
- Point in time recovery is disabled.
PointInTimeRecoveryStatus
public Instant earliestRestorableDateTime()
Specifies the earliest point in time you can restore your table to. It You can restore your table to any point in time during the last 35 days.
public Instant latestRestorableDateTime()
LatestRestorableDateTime
is typically 5 minutes before the current time.
LatestRestorableDateTime
is typically 5 minutes before the current time.public PointInTimeRecoveryDescription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PointInTimeRecoveryDescription.Builder,PointInTimeRecoveryDescription>
public static PointInTimeRecoveryDescription.Builder builder()
public static Class<? extends PointInTimeRecoveryDescription.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.