Interface Rule.Builder

    • Method Detail

      • type

        Rule.Builder type​(String type)

        The type of attribute validation rule.

        Parameters:
        type - The type of attribute validation rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RuleType, RuleType
      • type

        Rule.Builder type​(RuleType type)

        The type of attribute validation rule.

        Parameters:
        type - The type of attribute validation rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RuleType, RuleType
      • parameters

        Rule.Builder parameters​(Map<String,​String> parameters)

        The minimum and maximum parameters that are associated with the rule.

        Parameters:
        parameters - The minimum and maximum parameters that are associated with the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.