@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PointInTimeRecoveryDescription extends Object implements Serializable, Cloneable, StructuredPojo
The description of the point in time settings applied to the table.
Constructor and Description |
---|
PointInTimeRecoveryDescription() |
Modifier and Type | Method and Description |
---|---|
PointInTimeRecoveryDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getEarliestRestorableDateTime()
Specifies the earliest point in time you can restore your table to.
|
Date |
getLatestRestorableDateTime()
LatestRestorableDateTime is 5 minutes from now and there is a +/- 1 minute fuzziness on the restore
times. |
String |
getPointInTimeRecoveryStatus()
The current state of point in time recovery:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEarliestRestorableDateTime(Date earliestRestorableDateTime)
Specifies the earliest point in time you can restore your table to.
|
void |
setLatestRestorableDateTime(Date latestRestorableDateTime)
LatestRestorableDateTime is 5 minutes from now and there is a +/- 1 minute fuzziness on the restore
times. |
void |
setPointInTimeRecoveryStatus(String pointInTimeRecoveryStatus)
The current state of point in time recovery:
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PointInTimeRecoveryDescription |
withEarliestRestorableDateTime(Date earliestRestorableDateTime)
Specifies the earliest point in time you can restore your table to.
|
PointInTimeRecoveryDescription |
withLatestRestorableDateTime(Date latestRestorableDateTime)
LatestRestorableDateTime is 5 minutes from now and there is a +/- 1 minute fuzziness on the restore
times. |
PointInTimeRecoveryDescription |
withPointInTimeRecoveryStatus(PointInTimeRecoveryStatus pointInTimeRecoveryStatus)
The current state of point in time recovery:
|
PointInTimeRecoveryDescription |
withPointInTimeRecoveryStatus(String pointInTimeRecoveryStatus)
The current state of point in time recovery:
|
public void setPointInTimeRecoveryStatus(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.
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.
PointInTimeRecoveryStatus
public 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.
ENABLING
- Point in time recovery is being enabled.
ENABLED
- Point in time recovery is enabled.
DISABLED
- Point in time recovery is disabled.
PointInTimeRecoveryStatus
public PointInTimeRecoveryDescription withPointInTimeRecoveryStatus(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.
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.
PointInTimeRecoveryStatus
public 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.
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.
PointInTimeRecoveryStatus
public void setEarliestRestorableDateTime(Date earliestRestorableDateTime)
Specifies the earliest point in time you can restore your table to. It is equal to the maximum of point in time
recovery enabled time and CurrentTime
- PointInTimeRecoveryPeriod
.
earliestRestorableDateTime
- Specifies the earliest point in time you can restore your table to. It is equal to the maximum of point in
time recovery enabled time and CurrentTime
- PointInTimeRecoveryPeriod
.public Date getEarliestRestorableDateTime()
Specifies the earliest point in time you can restore your table to. It is equal to the maximum of point in time
recovery enabled time and CurrentTime
- PointInTimeRecoveryPeriod
.
CurrentTime
- PointInTimeRecoveryPeriod
.public PointInTimeRecoveryDescription withEarliestRestorableDateTime(Date earliestRestorableDateTime)
Specifies the earliest point in time you can restore your table to. It is equal to the maximum of point in time
recovery enabled time and CurrentTime
- PointInTimeRecoveryPeriod
.
earliestRestorableDateTime
- Specifies the earliest point in time you can restore your table to. It is equal to the maximum of point in
time recovery enabled time and CurrentTime
- PointInTimeRecoveryPeriod
.public void setLatestRestorableDateTime(Date latestRestorableDateTime)
LatestRestorableDateTime
is 5 minutes from now and there is a +/- 1 minute fuzziness on the restore
times.
latestRestorableDateTime
- LatestRestorableDateTime
is 5 minutes from now and there is a +/- 1 minute fuzziness on the
restore times.public Date getLatestRestorableDateTime()
LatestRestorableDateTime
is 5 minutes from now and there is a +/- 1 minute fuzziness on the restore
times.
LatestRestorableDateTime
is 5 minutes from now and there is a +/- 1 minute fuzziness on the
restore times.public PointInTimeRecoveryDescription withLatestRestorableDateTime(Date latestRestorableDateTime)
LatestRestorableDateTime
is 5 minutes from now and there is a +/- 1 minute fuzziness on the restore
times.
latestRestorableDateTime
- LatestRestorableDateTime
is 5 minutes from now and there is a +/- 1 minute fuzziness on the
restore times.public String toString()
toString
in class Object
Object.toString()
public PointInTimeRecoveryDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.