public class SnapshotRestoreRequest extends ProxyOnlyResource
Constructor and Description |
---|
SnapshotRestoreRequest() |
Modifier and Type | Method and Description |
---|---|
Boolean |
ignoreConflictingHostNames()
Get if true, custom hostname conflicts will be ignored when recovering to a target web app.
|
boolean |
overwrite()
Get if <code>true</code> the restore operation can overwrite source app; otherwise, <code>false</code>.
|
Boolean |
recoverConfiguration()
Get if true, site configuration, in addition to content, will be reverted.
|
SnapshotRecoverySource |
recoverySource()
Get optional.
|
String |
snapshotTime()
Get point in time in which the app restore should be done, formatted as a DateTime string.
|
Boolean |
useDRSecondary()
Get if true, the snapshot is retrieved from DRSecondary endpoint.
|
SnapshotRestoreRequest |
withIgnoreConflictingHostNames(Boolean ignoreConflictingHostNames)
Set if true, custom hostname conflicts will be ignored when recovering to a target web app.
|
SnapshotRestoreRequest |
withOverwrite(boolean overwrite)
Set if <code>true</code> the restore operation can overwrite source app; otherwise, <code>false</code>.
|
SnapshotRestoreRequest |
withRecoverConfiguration(Boolean recoverConfiguration)
Set if true, site configuration, in addition to content, will be reverted.
|
SnapshotRestoreRequest |
withRecoverySource(SnapshotRecoverySource recoverySource)
Set optional.
|
SnapshotRestoreRequest |
withSnapshotTime(String snapshotTime)
Set point in time in which the app restore should be done, formatted as a DateTime string.
|
SnapshotRestoreRequest |
withUseDRSecondary(Boolean useDRSecondary)
Set if true, the snapshot is retrieved from DRSecondary endpoint.
|
kind, withKind
public String snapshotTime()
public SnapshotRestoreRequest withSnapshotTime(String snapshotTime)
snapshotTime
- the snapshotTime value to setpublic SnapshotRecoverySource recoverySource()
public SnapshotRestoreRequest withRecoverySource(SnapshotRecoverySource recoverySource)
recoverySource
- the recoverySource value to setpublic boolean overwrite()
public SnapshotRestoreRequest withOverwrite(boolean overwrite)
overwrite
- the overwrite value to setpublic Boolean recoverConfiguration()
public SnapshotRestoreRequest withRecoverConfiguration(Boolean recoverConfiguration)
recoverConfiguration
- the recoverConfiguration value to setpublic Boolean ignoreConflictingHostNames()
public SnapshotRestoreRequest withIgnoreConflictingHostNames(Boolean ignoreConflictingHostNames)
ignoreConflictingHostNames
- the ignoreConflictingHostNames value to setpublic Boolean useDRSecondary()
public SnapshotRestoreRequest withUseDRSecondary(Boolean useDRSecondary)
useDRSecondary
- the useDRSecondary value to setCopyright © 2019. All rights reserved.