Class AzureBackupRecoveryTimeBasedRestoreRequest
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest
-
- com.azure.resourcemanager.dataprotection.models.AzureBackupRecoveryTimeBasedRestoreRequest
-
public final class AzureBackupRecoveryTimeBasedRestoreRequest extends AzureBackupRestoreRequest
AzureBackupRecoveryTimeBasedRestoreRequest AzureBackup RecoveryPointTime Based Restore Request.
-
-
Constructor Summary
Constructors Constructor Description AzureBackupRecoveryTimeBasedRestoreRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
recoveryPointTime()
Get the recoveryPointTime property: The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z.void
validate()
Validates the instance.AzureBackupRecoveryTimeBasedRestoreRequest
withRecoveryPointTime(String recoveryPointTime)
Set the recoveryPointTime property: The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z.AzureBackupRecoveryTimeBasedRestoreRequest
withRestoreTargetInfo(RestoreTargetInfoBase restoreTargetInfo)
Set the restoreTargetInfo property: Gets or sets the restore target information.AzureBackupRecoveryTimeBasedRestoreRequest
withSourceDataStoreType(SourceDataStoreType sourceDataStoreType)
Set the sourceDataStoreType property: Gets or sets the type of the source data store.-
Methods inherited from class com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest
restoreTargetInfo, sourceDataStoreType
-
-
-
-
Method Detail
-
recoveryPointTime
public String recoveryPointTime()
Get the recoveryPointTime property: The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z.- Returns:
- the recoveryPointTime value.
-
withRecoveryPointTime
public AzureBackupRecoveryTimeBasedRestoreRequest withRecoveryPointTime(String recoveryPointTime)
Set the recoveryPointTime property: The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z.- Parameters:
recoveryPointTime
- the recoveryPointTime value to set.- Returns:
- the AzureBackupRecoveryTimeBasedRestoreRequest object itself.
-
withRestoreTargetInfo
public AzureBackupRecoveryTimeBasedRestoreRequest withRestoreTargetInfo(RestoreTargetInfoBase restoreTargetInfo)
Set the restoreTargetInfo property: Gets or sets the restore target information.- Overrides:
withRestoreTargetInfo
in classAzureBackupRestoreRequest
- Parameters:
restoreTargetInfo
- the restoreTargetInfo value to set.- Returns:
- the AzureBackupRestoreRequest object itself.
-
withSourceDataStoreType
public AzureBackupRecoveryTimeBasedRestoreRequest withSourceDataStoreType(SourceDataStoreType sourceDataStoreType)
Set the sourceDataStoreType property: Gets or sets the type of the source data store.- Overrides:
withSourceDataStoreType
in classAzureBackupRestoreRequest
- Parameters:
sourceDataStoreType
- the sourceDataStoreType value to set.- Returns:
- the AzureBackupRestoreRequest object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAzureBackupRestoreRequest
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-