Class ValidateIaasVMRestoreOperationRequest
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ValidateOperationRequest
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ValidateRestoreOperationRequest
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ValidateIaasVMRestoreOperationRequest
-
public final class ValidateIaasVMRestoreOperationRequest extends ValidateRestoreOperationRequest
AzureRestoreValidation request.
-
-
Constructor Summary
Constructors Constructor Description ValidateIaasVMRestoreOperationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.ValidateIaasVMRestoreOperationRequest
withRestoreRequest(RestoreRequest restoreRequest)
Set the restoreRequest property: Sets restore request to be validated.-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.ValidateRestoreOperationRequest
restoreRequest
-
-
-
-
Method Detail
-
withRestoreRequest
public ValidateIaasVMRestoreOperationRequest withRestoreRequest(RestoreRequest restoreRequest)
Set the restoreRequest property: Sets restore request to be validated.- Overrides:
withRestoreRequest
in classValidateRestoreOperationRequest
- Parameters:
restoreRequest
- the restoreRequest value to set.- Returns:
- the ValidateRestoreOperationRequest object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classValidateRestoreOperationRequest
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-