public final class Backup extends Object
| Constructor and Description |
|---|
Backup() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
backupRetentionDays()
Get the backupRetentionDays property: Backup retention days for the server.
|
OffsetDateTime |
earliestRestoreDate()
Get the earliestRestoreDate property: The earliest restore point time (ISO8601 format) for server.
|
GeoRedundantBackupEnum |
geoRedundantBackup()
Get the geoRedundantBackup property: A value indicating whether Geo-Redundant backup is enabled on the server.
|
void |
validate()
Validates the instance.
|
Backup |
withBackupRetentionDays(Integer backupRetentionDays)
Set the backupRetentionDays property: Backup retention days for the server.
|
Backup |
withGeoRedundantBackup(GeoRedundantBackupEnum geoRedundantBackup)
Set the geoRedundantBackup property: A value indicating whether Geo-Redundant backup is enabled on the server.
|
public Integer backupRetentionDays()
public Backup withBackupRetentionDays(Integer backupRetentionDays)
backupRetentionDays - the backupRetentionDays value to set.public GeoRedundantBackupEnum geoRedundantBackup()
public Backup withGeoRedundantBackup(GeoRedundantBackupEnum geoRedundantBackup)
geoRedundantBackup - the geoRedundantBackup value to set.public OffsetDateTime earliestRestoreDate()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.