Class AzureBackupRecoveryTimeBasedRestoreRequest
java.lang.Object
com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest
com.azure.resourcemanager.dataprotection.models.AzureBackupRecoveryTimeBasedRestoreRequest
AzureBackupRecoveryTimeBasedRestoreRequest
AzureBackup RecoveryPointTime Based Restore Request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureBackupRecoveryTimeBasedRestoreRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the recoveryPointTime property: The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z.void
validate()
Validates the instance.withRecoveryPointTime
(String recoveryPointTime) Set the recoveryPointTime property: The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z.withRestoreTargetInfo
(RestoreTargetInfoBase restoreTargetInfo) Set the restoreTargetInfo property: Gets or sets the restore target information.withSourceDataStoreType
(SourceDataStoreType sourceDataStoreType) Set the sourceDataStoreType property: Gets or sets the type of the source data store.withSourceResourceId
(String sourceResourceId) Set the sourceResourceId property: Fully qualified Azure Resource Manager ID of the datasource which is being recovered.Methods inherited from class com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest
restoreTargetInfo, sourceDataStoreType, sourceResourceId
-
Constructor Details
-
AzureBackupRecoveryTimeBasedRestoreRequest
public AzureBackupRecoveryTimeBasedRestoreRequest()Creates an instance of AzureBackupRecoveryTimeBasedRestoreRequest class.
-
-
Method Details
-
recoveryPointTime
Get the recoveryPointTime property: The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z.- Returns:
- the recoveryPointTime value.
-
withRecoveryPointTime
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.
-
withSourceResourceId
Set the sourceResourceId property: Fully qualified Azure Resource Manager ID of the datasource which is being recovered.- Overrides:
withSourceResourceId
in classAzureBackupRestoreRequest
- Parameters:
sourceResourceId
- the sourceResourceId 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.
-