public class PointInTimeRecoveryDescription
extends java.lang.Object
implements java.io.Serializable
The description of the point in time settings applied to the table.
| Constructor and Description |
|---|
PointInTimeRecoveryDescription() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getEarliestRestorableDateTime()
Specifies the earliest point in time you can restore your table to.
|
java.util.Date |
getLatestRestorableDateTime()
LatestRestorableDateTime is typically 5 minutes before the
current time. |
java.lang.String |
getPointInTimeRecoveryStatus()
The current state of point in time recovery:
|
int |
hashCode() |
void |
setEarliestRestorableDateTime(java.util.Date earliestRestorableDateTime)
Specifies the earliest point in time you can restore your table to.
|
void |
setLatestRestorableDateTime(java.util.Date latestRestorableDateTime)
LatestRestorableDateTime is typically 5 minutes before the
current time. |
void |
setPointInTimeRecoveryStatus(PointInTimeRecoveryStatus pointInTimeRecoveryStatus)
The current state of point in time recovery:
|
void |
setPointInTimeRecoveryStatus(java.lang.String pointInTimeRecoveryStatus)
The current state of point in time recovery:
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PointInTimeRecoveryDescription |
withEarliestRestorableDateTime(java.util.Date earliestRestorableDateTime)
Specifies the earliest point in time you can restore your table to.
|
PointInTimeRecoveryDescription |
withLatestRestorableDateTime(java.util.Date latestRestorableDateTime)
LatestRestorableDateTime is typically 5 minutes before the
current time. |
PointInTimeRecoveryDescription |
withPointInTimeRecoveryStatus(PointInTimeRecoveryStatus pointInTimeRecoveryStatus)
The current state of point in time recovery:
|
PointInTimeRecoveryDescription |
withPointInTimeRecoveryStatus(java.lang.String pointInTimeRecoveryStatus)
The current state of point in time recovery:
|
public java.lang.String getPointInTimeRecoveryStatus()
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
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.
PointInTimeRecoveryStatuspublic void setPointInTimeRecoveryStatus(java.lang.String 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.
Constraints:
Allowed Values: ENABLED, DISABLED
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.
PointInTimeRecoveryStatuspublic PointInTimeRecoveryDescription withPointInTimeRecoveryStatus(java.lang.String 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLED, DISABLED
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.
PointInTimeRecoveryStatuspublic void setPointInTimeRecoveryStatus(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.
Constraints:
Allowed Values: ENABLED, DISABLED
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.
PointInTimeRecoveryStatuspublic PointInTimeRecoveryDescription withPointInTimeRecoveryStatus(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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLED, DISABLED
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.
PointInTimeRecoveryStatuspublic java.util.Date getEarliestRestorableDateTime()
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.
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)
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.
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 PointInTimeRecoveryDescription withEarliestRestorableDateTime(java.util.Date 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.
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 java.util.Date getLatestRestorableDateTime()
LatestRestorableDateTime is typically 5 minutes before the
current time.
LatestRestorableDateTime is typically 5 minutes
before the current time.
public void setLatestRestorableDateTime(java.util.Date latestRestorableDateTime)
LatestRestorableDateTime is typically 5 minutes before the
current time.
latestRestorableDateTime -
LatestRestorableDateTime is typically 5 minutes
before the current time.
public PointInTimeRecoveryDescription withLatestRestorableDateTime(java.util.Date latestRestorableDateTime)
LatestRestorableDateTime is typically 5 minutes before the
current time.
Returns a reference to this object so that method calls can be chained together.
latestRestorableDateTime -
LatestRestorableDateTime is typically 5 minutes
before the current time.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.