Class ValidateResponseInner


  • public final class ValidateResponseInner
    extends Object
    Describes the result of resource validation.
    • Constructor Detail

      • ValidateResponseInner

        public ValidateResponseInner()
    • Method Detail

      • status

        public String status()
        Get the status property: Result of validation.
        Returns:
        the status value.
      • withStatus

        public ValidateResponseInner withStatus​(String status)
        Set the status property: Result of validation.
        Parameters:
        status - the status value to set.
        Returns:
        the ValidateResponseInner object itself.
      • error

        public ValidateResponseError error()
        Get the error property: Error details for the case when validation fails.
        Returns:
        the error value.
      • withError

        public ValidateResponseInner withError​(ValidateResponseError error)
        Set the error property: Error details for the case when validation fails.
        Parameters:
        error - the error value to set.
        Returns:
        the ValidateResponseInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.