Class DataConnectionValidationResult


  • public final class DataConnectionValidationResult
    extends Object
    The result returned from a data connection validation request.
    • Constructor Detail

      • DataConnectionValidationResult

        public DataConnectionValidationResult()
    • Method Detail

      • errorMessage

        public String errorMessage()
        Get the errorMessage property: A message which indicates a problem in data connection validation.
        Returns:
        the errorMessage value.
      • withErrorMessage

        public DataConnectionValidationResult withErrorMessage​(String errorMessage)
        Set the errorMessage property: A message which indicates a problem in data connection validation.
        Parameters:
        errorMessage - the errorMessage value to set.
        Returns:
        the DataConnectionValidationResult object itself.
      • validate

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