Class ValidateOperationResponse
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ValidateOperationResponse
-
public final class ValidateOperationResponse extends Object
Base class for validate operation response.
-
-
Constructor Summary
Constructors Constructor Description ValidateOperationResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.List<ErrorDetail>
validationResults()
Get the validationResults property: Gets the validation result.ValidateOperationResponse
withValidationResults(List<ErrorDetail> validationResults)
Set the validationResults property: Gets the validation result.
-
-
-
Method Detail
-
validationResults
public List<ErrorDetail> validationResults()
Get the validationResults property: Gets the validation result.- Returns:
- the validationResults value.
-
withValidationResults
public ValidateOperationResponse withValidationResults(List<ErrorDetail> validationResults)
Set the validationResults property: Gets the validation result.- Parameters:
validationResults
- the validationResults value to set.- Returns:
- the ValidateOperationResponse object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-