Class PointInTimeRecoverySpecification
- java.lang.Object
-
- software.amazon.awssdk.services.dynamodb.model.PointInTimeRecoverySpecification
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PointInTimeRecoverySpecification.Builder,PointInTimeRecoverySpecification>
@Generated("software.amazon.awssdk:codegen") public final class PointInTimeRecoverySpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PointInTimeRecoverySpecification.Builder,PointInTimeRecoverySpecification>
Represents the settings used to enable point in time recovery.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PointInTimeRecoverySpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PointInTimeRecoverySpecification.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Boolean
pointInTimeRecoveryEnabled()
Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.Integer
recoveryPeriodInDays()
The number of preceding days for which continuous backups are taken and maintained.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends PointInTimeRecoverySpecification.Builder>
serializableBuilderClass()
PointInTimeRecoverySpecification.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
-
pointInTimeRecoveryEnabled
public final Boolean pointInTimeRecoveryEnabled()
Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.
- Returns:
- Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.
-
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. If no value is provided, the value will default to 35.
- 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. If no value is provided, the value will default to 35.
-
toBuilder
public PointInTimeRecoverySpecification.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PointInTimeRecoverySpecification.Builder,PointInTimeRecoverySpecification>
-
builder
public static PointInTimeRecoverySpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends PointInTimeRecoverySpecification.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-