@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PointInTimeRecovery extends Object implements Serializable, Cloneable, StructuredPojo
Point-in-time recovery (PITR) helps protect your Amazon Keyspaces tables from accidental write or delete operations by providing you continuous backups of your table data.
For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.
Constructor and Description |
---|
PointInTimeRecovery() |
Modifier and Type | Method and Description |
---|---|
PointInTimeRecovery |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The options are:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatus(String status)
The options are:
|
String |
toString()
Returns a string representation of this object.
|
PointInTimeRecovery |
withStatus(PointInTimeRecoveryStatus status)
The options are:
|
PointInTimeRecovery |
withStatus(String status)
The options are:
|
public void setStatus(String status)
The options are:
• ENABLED
• DISABLED
status
- The options are:
• ENABLED
• DISABLED
PointInTimeRecoveryStatus
public String getStatus()
The options are:
• ENABLED
• DISABLED
• ENABLED
• DISABLED
PointInTimeRecoveryStatus
public PointInTimeRecovery withStatus(String status)
The options are:
• ENABLED
• DISABLED
status
- The options are:
• ENABLED
• DISABLED
PointInTimeRecoveryStatus
public PointInTimeRecovery withStatus(PointInTimeRecoveryStatus status)
The options are:
• ENABLED
• DISABLED
status
- The options are:
• ENABLED
• DISABLED
PointInTimeRecoveryStatus
public String toString()
toString
in class Object
Object.toString()
public PointInTimeRecovery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.