public static final class BackupPlanRuleProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BackupPlanRuleProps
BackupPlanRuleProps
BackupPlanRuleProps.Builder, BackupPlanRuleProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
IBackupVault |
getBackupVault()
The backup vault where backups are.
|
Duration |
getCompletionWindow()
The duration after a backup job is successfully started before it must be completed or it is canceled by AWS Backup.
|
Duration |
getDeleteAfter()
Specifies the duration after creation that a recovery point is deleted.
|
java.lang.Boolean |
getEnableContinuousBackup()
Enables continuous backup and point-in-time restores (PITR).
|
Duration |
getMoveToColdStorageAfter()
Specifies the duration after creation that a recovery point is moved to cold storage.
|
java.lang.String |
getRuleName()
A display name for the backup rule.
|
Schedule |
getScheduleExpression()
A CRON expression specifying when AWS Backup initiates a backup job.
|
Duration |
getStartWindow()
The duration after a backup is scheduled before a job is canceled if it doesn't start successfully.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final IBackupVault getBackupVault()
BackupPlanRuleProps
Default: - use the vault defined at the plan level. If not defined a new common vault for the plan will be created
getBackupVault
in interface BackupPlanRuleProps
public final Duration getCompletionWindow()
BackupPlanRuleProps
Default: - 8 hours
getCompletionWindow
in interface BackupPlanRuleProps
public final Duration getDeleteAfter()
BackupPlanRuleProps
Must be greater than moveToColdStorageAfter
.
Default: - recovery point is never deleted
getDeleteAfter
in interface BackupPlanRuleProps
public final java.lang.Boolean getEnableContinuousBackup()
BackupPlanRuleProps
Property deleteAfter
defines the retention period for the backup. It is mandatory if PITR is enabled.
If no value is specified, the retention period is set to 35 days which is the maximum retention period supported by PITR.
Property moveToColdStorageAfter
must not be specified because PITR does not support this option.
Default: false
getEnableContinuousBackup
in interface BackupPlanRuleProps
public final Duration getMoveToColdStorageAfter()
BackupPlanRuleProps
Default: - recovery point is never moved to cold storage
getMoveToColdStorageAfter
in interface BackupPlanRuleProps
public final java.lang.String getRuleName()
BackupPlanRuleProps
Default: - a CDK generated name
getRuleName
in interface BackupPlanRuleProps
public final Schedule getScheduleExpression()
BackupPlanRuleProps
Default: - no schedule
getScheduleExpression
in interface BackupPlanRuleProps
public final Duration getStartWindow()
BackupPlanRuleProps
Default: - 8 hours
getStartWindow
in interface BackupPlanRuleProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()