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