Class ThreatFeed.Builder

  • Enclosing class:
    ThreatFeed

    public static class ThreatFeed.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

        public ThreatFeed.Builder key​(String key)
        The unique key of the threat intelligence feed.
        Parameters:
        key - the value to set
        Returns:
        this builder
      • name

        public ThreatFeed.Builder name​(String name)
        The name of the threat intelligence feed.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • action

        public ThreatFeed.Builder action​(ThreatFeed.Action action)
        The action to take when traffic is flagged as malicious by data from the threat intelligence feed.

        If unspecified, defaults to OFF.

        Parameters:
        action - the value to set
        Returns:
        this builder
      • description

        public ThreatFeed.Builder description​(String description)
        The description of the threat intelligence feed.
        Parameters:
        description - the value to set
        Returns:
        this builder