@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 typically 5 minutes before the current time. |
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 typically 5 minutes before the current time. |
void |
setPointInTimeRecoveryStatus(String pointInTimeRecoveryStatus)
The current state of point in time recovery:
|
String |
toString()
Returns a string representation of this object.
|
PointInTimeRecoveryDescription |
withEarliestRestorableDateTime(Date earliestRestorableDateTime)
Specifies the earliest point in time you can restore your table to.
|
PointInTimeRecoveryDescription |
withLatestRestorableDateTime(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(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 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 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.
public PointInTimeRecoveryDescription withEarliestRestorableDateTime(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 void setLatestRestorableDateTime(Date latestRestorableDateTime)
LatestRestorableDateTime
is typically 5 minutes before the current time.
latestRestorableDateTime
- LatestRestorableDateTime
is typically 5 minutes before the current time.public Date getLatestRestorableDateTime()
LatestRestorableDateTime
is typically 5 minutes before the current time.
LatestRestorableDateTime
is typically 5 minutes before the current time.public PointInTimeRecoveryDescription withLatestRestorableDateTime(Date latestRestorableDateTime)
LatestRestorableDateTime
is typically 5 minutes before the current time.
latestRestorableDateTime
- LatestRestorableDateTime
is typically 5 minutes before the current time.public String toString()
toString
in class Object
Object.toString()
public PointInTimeRecoveryDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.