Class RuleInput.Builder

  • Enclosing class:
    RuleInput

    public static class RuleInput.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public RuleInput build()
        Builds a RuleInput.
        Returns:
        the new RuleInput instance
      • addConditions

        public RuleInput.Builder addConditions​(ConditionInput conditions)
        Adds an conditions to conditions.
        Parameters:
        conditions - the new conditions
        Returns:
        the RuleInput builder
      • name

        public RuleInput.Builder name​(java.lang.String name)
        Set the name.
        Parameters:
        name - the name
        Returns:
        the RuleInput builder
      • expiration

        public RuleInput.Builder expiration​(long expiration)
        Set the expiration.
        Parameters:
        expiration - the expiration
        Returns:
        the RuleInput builder
      • realmName

        public RuleInput.Builder realmName​(java.lang.String realmName)
        Set the realmName.
        Parameters:
        realmName - the realmName
        Returns:
        the RuleInput builder
      • conditions

        public RuleInput.Builder conditions​(java.util.List<ConditionInput> conditions)
        Set the conditions. Existing conditions will be replaced.
        Parameters:
        conditions - the conditions
        Returns:
        the RuleInput builder
      • actionControls

        public RuleInput.Builder actionControls​(RulesActionControls actionControls)
        Set the actionControls.
        Parameters:
        actionControls - the actionControls
        Returns:
        the RuleInput builder