public class RestorePolicyProperties extends Object
| Constructor and Description |
|---|
RestorePolicyProperties() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
days()
Get how long this blob can be restored.
|
boolean |
enabled()
Get blob restore is enabled if set to true.
|
org.joda.time.DateTime |
lastEnabledTime()
Get deprecated in favor of minRestoreTime property.
|
org.joda.time.DateTime |
minRestoreTime()
Get returns the minimum date and time that the restore can be started.
|
RestorePolicyProperties |
withDays(Integer days)
Set how long this blob can be restored.
|
RestorePolicyProperties |
withEnabled(boolean enabled)
Set blob restore is enabled if set to true.
|
public boolean enabled()
public RestorePolicyProperties withEnabled(boolean enabled)
enabled - the enabled value to setpublic Integer days()
public RestorePolicyProperties withDays(Integer days)
days - the days value to setpublic org.joda.time.DateTime lastEnabledTime()
public org.joda.time.DateTime minRestoreTime()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/