public class BackupSchedule extends Object
| Constructor and Description |
|---|
BackupSchedule() |
| Modifier and Type | Method and Description |
|---|---|
int |
frequencyInterval()
Get the frequencyInterval value.
|
FrequencyUnit |
frequencyUnit()
Get the frequencyUnit value.
|
boolean |
keepAtLeastOneBackup()
Get the keepAtLeastOneBackup value.
|
org.joda.time.DateTime |
lastExecutionTime()
Get the lastExecutionTime value.
|
int |
retentionPeriodInDays()
Get the retentionPeriodInDays value.
|
org.joda.time.DateTime |
startTime()
Get the startTime value.
|
BackupSchedule |
withFrequencyInterval(int frequencyInterval)
Set the frequencyInterval value.
|
BackupSchedule |
withFrequencyUnit(FrequencyUnit frequencyUnit)
Set the frequencyUnit value.
|
BackupSchedule |
withKeepAtLeastOneBackup(boolean keepAtLeastOneBackup)
Set the keepAtLeastOneBackup value.
|
BackupSchedule |
withRetentionPeriodInDays(int retentionPeriodInDays)
Set the retentionPeriodInDays value.
|
BackupSchedule |
withStartTime(org.joda.time.DateTime startTime)
Set the startTime value.
|
public int frequencyInterval()
public BackupSchedule withFrequencyInterval(int frequencyInterval)
frequencyInterval - the frequencyInterval value to setpublic FrequencyUnit frequencyUnit()
public BackupSchedule withFrequencyUnit(FrequencyUnit frequencyUnit)
frequencyUnit - the frequencyUnit value to setpublic boolean keepAtLeastOneBackup()
public BackupSchedule withKeepAtLeastOneBackup(boolean keepAtLeastOneBackup)
keepAtLeastOneBackup - the keepAtLeastOneBackup value to setpublic int retentionPeriodInDays()
public BackupSchedule withRetentionPeriodInDays(int retentionPeriodInDays)
retentionPeriodInDays - the retentionPeriodInDays value to setpublic org.joda.time.DateTime startTime()
public BackupSchedule withStartTime(org.joda.time.DateTime startTime)
startTime - the startTime value to setpublic org.joda.time.DateTime lastExecutionTime()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/