Class ValidationResponseInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.ValidationResponseInner
-
public final class ValidationResponseInner extends Object
Validation response.
-
-
Constructor Summary
Constructors Constructor Description ValidationResponseInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationResponseErrorInfo
errorInfo()
Get the errorInfo property: Failed validation result details.Boolean
isValid()
Get the isValid property: Whether or not validation succeeded.void
validate()
Validates the instance.ValidationResponseInner
withErrorInfo(ValidationResponseErrorInfo errorInfo)
Set the errorInfo property: Failed validation result details.
-
-
-
Method Detail
-
isValid
public Boolean isValid()
Get the isValid property: Whether or not validation succeeded.- Returns:
- the isValid value.
-
errorInfo
public ValidationResponseErrorInfo errorInfo()
Get the errorInfo property: Failed validation result details.- Returns:
- the errorInfo value.
-
withErrorInfo
public ValidationResponseInner withErrorInfo(ValidationResponseErrorInfo errorInfo)
Set the errorInfo property: Failed validation result details.- Parameters:
errorInfo
- the errorInfo value to set.- Returns:
- the ValidationResponseInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-