Class TaskValidation.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • totalMessageCount

        public TaskValidation.Builder totalMessageCount​(Integer totalMessageCount)
        Total number of validation messages.
        Parameters:
        totalMessageCount - the value to set
        Returns:
        this builder
      • errorMessageCount

        public TaskValidation.Builder errorMessageCount​(Integer errorMessageCount)
        Total number of validation error messages.
        Parameters:
        errorMessageCount - the value to set
        Returns:
        this builder
      • warnMessageCount

        public TaskValidation.Builder warnMessageCount​(Integer warnMessageCount)
        Total number of validation warning messages.
        Parameters:
        warnMessageCount - the value to set
        Returns:
        this builder
      • infoMessageCount

        public TaskValidation.Builder infoMessageCount​(Integer infoMessageCount)
        Total number of validation information messages.
        Parameters:
        infoMessageCount - the value to set
        Returns:
        this builder
      • validationMessages

        public TaskValidation.Builder validationMessages​(Map<String,​List<ValidationMessage>> validationMessages)
        Detailed information of the data flow object validation.
        Parameters:
        validationMessages - the value to set
        Returns:
        this builder
      • key

        public TaskValidation.Builder key​(String key)
        Objects use a 36 character key as unique ID.

        It is system generated and cannot be modified.

        Parameters:
        key - the value to set
        Returns:
        this builder
      • modelType

        public TaskValidation.Builder modelType​(String modelType)
        The type of the object.
        Parameters:
        modelType - the value to set
        Returns:
        this builder
      • modelVersion

        public TaskValidation.Builder modelVersion​(String modelVersion)
        The model version of an object.
        Parameters:
        modelVersion - the value to set
        Returns:
        this builder
      • name

        public TaskValidation.Builder name​(String name)
        Free form text without any restriction on permitted characters.

        Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.

        Parameters:
        name - the value to set
        Returns:
        this builder
      • description

        public TaskValidation.Builder description​(String description)
        Detailed description for the object.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • objectVersion

        public TaskValidation.Builder objectVersion​(Integer objectVersion)
        The version of the object that is used to track changes in the object instance.
        Parameters:
        objectVersion - the value to set
        Returns:
        this builder
      • objectStatus

        public TaskValidation.Builder objectStatus​(Integer objectStatus)
        The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
        Parameters:
        objectStatus - the value to set
        Returns:
        this builder
      • identifier

        public TaskValidation.Builder identifier​(String identifier)
        Value can only contain upper case letters, underscore, and numbers.

        It should begin with upper case letter or underscore. The value can be modified.

        Parameters:
        identifier - the value to set
        Returns:
        this builder