com.independentsoft.exchange

## Class ProtectionRulesConfiguration

- java.lang.Object
- - com.independentsoft.exchange.ProtectionRulesConfiguration

-     public class ProtectionRulesConfiguration
      extends java.lang.Object

  Contains service configuration information for the protection rules service.

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<SmtpDomain>` | `getInternalDomains()` Gets the list of internal SMTP domains of the organization.
    `int` | `getRefreshInterval()` Gets how often, in whole hours, the client should request protection rules from the server.
    `java.util.List<ProtectionRule>` | `getRules()` Gets an array of protection rules.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getRefreshInterval

          public int getRefreshInterval()

      Gets how often, in whole hours, the client should request protection rules from the server.
      Returns:
        the refresh interval

    - #### getRules

          public java.util.List<ProtectionRule> getRules()

      Gets an array of protection rules.
      Returns:
        the rules

    - #### getInternalDomains

          public java.util.List<SmtpDomain> getInternalDomains()

      Gets the list of internal SMTP domains of the organization.
      Returns:
        the internal domains