public final class SnapshotRestoreRequestProperties extends Object
| Constructor and Description |
|---|
SnapshotRestoreRequestProperties() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
ignoreConflictingHostNames()
Get the ignoreConflictingHostNames property: If true, custom hostname conflicts will be ignored when recovering
to a target web app.
|
boolean |
overwrite()
Get the overwrite property: If <code>true</code> the restore operation can overwrite source app;
otherwise, <code>false</code>.
|
Boolean |
recoverConfiguration()
Get the recoverConfiguration property: If true, site configuration, in addition to content, will be reverted.
|
SnapshotRecoverySource |
recoverySource()
Get the recoverySource property: Optional.
|
String |
snapshotTime()
Get the snapshotTime property: Point in time in which the app restore should be done, 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.
|
SnapshotRestoreRequestProperties |
withIgnoreConflictingHostNames(Boolean ignoreConflictingHostNames)
Set the ignoreConflictingHostNames property: If true, custom hostname conflicts will be ignored when recovering
to a target web app.
|
SnapshotRestoreRequestProperties |
withOverwrite(boolean overwrite)
Set the overwrite property: If <code>true</code> the restore operation can overwrite source app;
otherwise, <code>false</code>.
|
SnapshotRestoreRequestProperties |
withRecoverConfiguration(Boolean recoverConfiguration)
Set the recoverConfiguration property: If true, site configuration, in addition to content, will be reverted.
|
SnapshotRestoreRequestProperties |
withRecoverySource(SnapshotRecoverySource recoverySource)
Set the recoverySource property: Optional.
|
SnapshotRestoreRequestProperties |
withSnapshotTime(String snapshotTime)
Set the snapshotTime property: Point in time in which the app restore should be done, formatted as a DateTime
string.
|
SnapshotRestoreRequestProperties |
withUseDRSecondary(Boolean useDRSecondary)
Set the useDRSecondary property: If true, the snapshot is retrieved from DRSecondary endpoint.
|
public String snapshotTime()
public SnapshotRestoreRequestProperties withSnapshotTime(String snapshotTime)
snapshotTime - the snapshotTime value to set.public SnapshotRecoverySource recoverySource()
public SnapshotRestoreRequestProperties withRecoverySource(SnapshotRecoverySource recoverySource)
recoverySource - the recoverySource value to set.public boolean overwrite()
public SnapshotRestoreRequestProperties withOverwrite(boolean overwrite)
overwrite - the overwrite value to set.public Boolean recoverConfiguration()
public SnapshotRestoreRequestProperties withRecoverConfiguration(Boolean recoverConfiguration)
recoverConfiguration - the recoverConfiguration value to set.public Boolean ignoreConflictingHostNames()
public SnapshotRestoreRequestProperties withIgnoreConflictingHostNames(Boolean ignoreConflictingHostNames)
ignoreConflictingHostNames - the ignoreConflictingHostNames value to set.public Boolean useDRSecondary()
public SnapshotRestoreRequestProperties withUseDRSecondary(Boolean useDRSecondary)
useDRSecondary - the useDRSecondary value to set.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.