public final class DeletedAppRestoreRequestProperties extends Object
| Constructor and Description |
|---|
DeletedAppRestoreRequestProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
deletedSiteId()
Get the deletedSiteId property: ARM resource ID of the deleted app.
|
Boolean |
recoverConfiguration()
Get the recoverConfiguration property: If true, deleted site configuration, in addition to content, will be
restored.
|
String |
snapshotTime()
Get the snapshotTime property: Point in time to restore the deleted app from, formatted as a DateTime string.
|
Boolean |
useDRSecondary()
Get the useDRSecondary property: If true, the snapshot is retrieved from DRSecondary endpoint.
|
void |
validate()
Validates the instance.
|
DeletedAppRestoreRequestProperties |
withDeletedSiteId(String deletedSiteId)
Set the deletedSiteId property: ARM resource ID of the deleted app.
|
DeletedAppRestoreRequestProperties |
withRecoverConfiguration(Boolean recoverConfiguration)
Set the recoverConfiguration property: If true, deleted site configuration, in addition to content, will be
restored.
|
DeletedAppRestoreRequestProperties |
withSnapshotTime(String snapshotTime)
Set the snapshotTime property: Point in time to restore the deleted app from, formatted as a DateTime string.
|
DeletedAppRestoreRequestProperties |
withUseDRSecondary(Boolean useDRSecondary)
Set the useDRSecondary property: If true, the snapshot is retrieved from DRSecondary endpoint.
|
public String deletedSiteId()
public DeletedAppRestoreRequestProperties withDeletedSiteId(String deletedSiteId)
deletedSiteId - the deletedSiteId value to set.public Boolean recoverConfiguration()
public DeletedAppRestoreRequestProperties withRecoverConfiguration(Boolean recoverConfiguration)
recoverConfiguration - the recoverConfiguration value to set.public String snapshotTime()
public DeletedAppRestoreRequestProperties withSnapshotTime(String snapshotTime)
snapshotTime - the snapshotTime value to set.public Boolean useDRSecondary()
public DeletedAppRestoreRequestProperties withUseDRSecondary(Boolean useDRSecondary)
useDRSecondary - the useDRSecondary value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.