/* * Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.dynamodbv2.model; import java.io.Serializable; /** *
* The description of the point in time settings applied to the table. *
*/ public class PointInTimeRecoveryDescription implements Serializable { /** ** 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.
*
* Constraints:
* Allowed Values: ENABLED, DISABLED
*/
private String pointInTimeRecoveryStatus;
/**
*
* 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. *
*/ private java.util.Date earliestRestorableDateTime; /** *
* LatestRestorableDateTime
is typically 5 minutes before the
* current time.
*
* 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.
*
* Constraints:
* Allowed Values: ENABLED, DISABLED
*
* @return
* 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.
*
* 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.
*
* Constraints:
* Allowed Values: ENABLED, DISABLED
*
* @param 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.
*
* 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.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: ENABLED, DISABLED
*
* @param 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.
*
* 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.
*
* Constraints:
* Allowed Values: ENABLED, DISABLED
*
* @param 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.
*
* 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.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: ENABLED, DISABLED
*
* @param 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.
*
* 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. *
* * @return* 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 java.util.Date getEarliestRestorableDateTime() { return 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. *
* * @param 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 void setEarliestRestorableDateTime(java.util.Date earliestRestorableDateTime) { this.earliestRestorableDateTime = 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. *
** Returns a reference to this object so that method calls can be chained * together. * * @param 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. *
* @return A reference to this updated object so that method calls can be * chained together. */ public PointInTimeRecoveryDescription withEarliestRestorableDateTime( java.util.Date earliestRestorableDateTime) { this.earliestRestorableDateTime = earliestRestorableDateTime; return this; } /** *
* LatestRestorableDateTime
is typically 5 minutes before the
* current time.
*
* LatestRestorableDateTime
is typically 5 minutes
* before the current time.
*
* LatestRestorableDateTime
is typically 5 minutes before the
* current time.
*
* LatestRestorableDateTime
is typically 5 minutes
* before the current time.
*
* LatestRestorableDateTime
is typically 5 minutes before the
* current time.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param latestRestorableDateTime
* LatestRestorableDateTime
is typically 5 minutes
* before the current time.
*