Class RuleUpdate

    • Constructor Detail

      • RuleUpdate

        public RuleUpdate()
    • Method Detail

      • setAction

        public void setAction​(String action)

        Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.

        Parameters:
        action - Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.
        See Also:
        ChangeAction
      • getAction

        public String getAction()

        Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.

        Returns:
        Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.
        See Also:
        ChangeAction
      • withAction

        public RuleUpdate withAction​(String action)

        Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.

        Parameters:
        action - Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChangeAction
      • setAction

        public void setAction​(ChangeAction action)

        Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.

        Parameters:
        action - Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.
        See Also:
        ChangeAction
      • withAction

        public RuleUpdate withAction​(ChangeAction action)

        Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.

        Parameters:
        action - Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChangeAction
      • setPredicate

        public void setPredicate​(Predicate predicate)

        The ID of the Predicate (such as an IPSet) that you want to add to a Rule.

        Parameters:
        predicate - The ID of the Predicate (such as an IPSet) that you want to add to a Rule.
      • getPredicate

        public Predicate getPredicate()

        The ID of the Predicate (such as an IPSet) that you want to add to a Rule.

        Returns:
        The ID of the Predicate (such as an IPSet) that you want to add to a Rule.
      • withPredicate

        public RuleUpdate withPredicate​(Predicate predicate)

        The ID of the Predicate (such as an IPSet) that you want to add to a Rule.

        Parameters:
        predicate - The ID of the Predicate (such as an IPSet) that you want to add to a Rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object