## Uses of Class
com.trendmicro.ds.appcontrol.rest.object.Rule

- Packages that use Rule
  Package | Description
  --- | ---
  com.trendmicro.ds.appcontrol.rest.object |

- - ### Uses of Rule in com.trendmicro.ds.appcontrol.rest.object

    Methods in com.trendmicro.ds.appcontrol.rest.object that return Rule
    Modifier and Type | Method and Description
    --- | ---
    `Rule` | Rule.`withAction(Rule.Action action)` Set the action to take when a user attempts to launch the executable named in the rule.
    `Rule` | Rule.`withFileName(java.lang.String filename)` Set the filename (excluding path) of the executable named in the rule.
    `Rule` | Rule.`withPath(java.lang.String path)` Set the full path (excluding filename) of the executable named in the rule.
    `Rule` | Rule.`withRuleID(java.lang.Long ruleID)` Set the rule ID
    `Rule` | Rule.`withSha256(java.lang.String sha256)` Set the SHA-256 hash of the executable named in the rule.
    `Rule` | Rule.`withSize(long size)` Set the size of the executable named in the rule.

    Methods in com.trendmicro.ds.appcontrol.rest.object that return types with arguments of type Rule
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<Rule>` | Ruleset.`getRules()` Get the list of rules in the ruleset.

    Methods in com.trendmicro.ds.appcontrol.rest.object with parameters of type Rule
    Modifier and Type | Method and Description
    --- | ---
    `void` | Ruleset.`addRule(Rule rule)` Add a rule to the ruleset.

    Method parameters in com.trendmicro.ds.appcontrol.rest.object with type arguments of type Rule
    Modifier and Type | Method and Description
    --- | ---
    `void` | Ruleset.`setRules(java.util.List<Rule> rules)` Set the list of rules in the ruleset.
    `Ruleset` | Ruleset.`withRules(java.util.List<Rule> rules)` Set the list of rules in the ruleset.

    Constructors in com.trendmicro.ds.appcontrol.rest.object with parameters of type Rule
    Constructor and Description
    `Ruleset(Rule... rules)` Create a ruleset with the provided list of rules.

    Constructor parameters in com.trendmicro.ds.appcontrol.rest.object with type arguments of type Rule
    Constructor and Description
    `Ruleset(java.util.List<Rule> rules)` Create a ruleset with the provided list of rules.

Copyright © 2017 Trend Micro Inc. All Rights Reserved.