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 interface
PointInTimeRecoveryDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
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,
pointInTimeRecoveryStatus
will 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,
pointInTimeRecoveryStatus
will 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
-
-
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()
LatestRestorableDateTime
is typically 5 minutes before the current time.- Returns:
LatestRestorableDateTime
is typically 5 minutes before the current time.
-
toBuilder
public PointInTimeRecoveryDescription.Builder toBuilder()
- Specified by:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-