public class UpdateContinuousBackupsRequest extends AmazonWebServiceRequest implements java.io.Serializable
UpdateContinuousBackups
enables or disables point in time
recovery for the specified table. A successful
UpdateContinuousBackups
call returns the current
ContinuousBackupsDescription
. Continuous backups are
ENABLED
on all tables at table creation. If point in time
recovery is enabled, PointInTimeRecoveryStatus
will be set to
ENABLED.
Once continuous backups and point in time recovery are enabled, you can
restore to any point in time within EarliestRestorableDateTime
and LatestRestorableDateTime
.
LatestRestorableDateTime
is typically 5 minutes before the
current time. You can restore your table to any point in time during the last
35 days..
Constructor and Description |
---|
UpdateContinuousBackupsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
PointInTimeRecoverySpecification |
getPointInTimeRecoverySpecification()
Represents the settings used to enable point in time recovery.
|
java.lang.String |
getTableName()
The name of the table.
|
int |
hashCode() |
void |
setPointInTimeRecoverySpecification(PointInTimeRecoverySpecification pointInTimeRecoverySpecification)
Represents the settings used to enable point in time recovery.
|
void |
setTableName(java.lang.String tableName)
The name of the table.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateContinuousBackupsRequest |
withPointInTimeRecoverySpecification(PointInTimeRecoverySpecification pointInTimeRecoverySpecification)
Represents the settings used to enable point in time recovery.
|
UpdateContinuousBackupsRequest |
withTableName(java.lang.String tableName)
The name of the table.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getTableName()
The name of the table.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
The name of the table.
public void setTableName(java.lang.String tableName)
The name of the table.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName
- The name of the table.
public UpdateContinuousBackupsRequest withTableName(java.lang.String tableName)
The name of the table.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName
- The name of the table.
public PointInTimeRecoverySpecification getPointInTimeRecoverySpecification()
Represents the settings used to enable point in time recovery.
Represents the settings used to enable point in time recovery.
public void setPointInTimeRecoverySpecification(PointInTimeRecoverySpecification pointInTimeRecoverySpecification)
Represents the settings used to enable point in time recovery.
pointInTimeRecoverySpecification
- Represents the settings used to enable point in time recovery.
public UpdateContinuousBackupsRequest withPointInTimeRecoverySpecification(PointInTimeRecoverySpecification pointInTimeRecoverySpecification)
Represents the settings used to enable point in time recovery.
Returns a reference to this object so that method calls can be chained together.
pointInTimeRecoverySpecification
- Represents the settings used to enable point in time recovery.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.