Class ThreatIntelligenceFilteringCriteria


  • public final class ThreatIntelligenceFilteringCriteria
    extends Object
    Filtering criteria for querying threat intelligence indicators.
    • Constructor Detail

      • ThreatIntelligenceFilteringCriteria

        public ThreatIntelligenceFilteringCriteria()
    • Method Detail

      • pageSize

        public Integer pageSize()
        Get the pageSize property: Page size.
        Returns:
        the pageSize value.
      • withPageSize

        public ThreatIntelligenceFilteringCriteria withPageSize​(Integer pageSize)
        Set the pageSize property: Page size.
        Parameters:
        pageSize - the pageSize value to set.
        Returns:
        the ThreatIntelligenceFilteringCriteria object itself.
      • minConfidence

        public Integer minConfidence()
        Get the minConfidence property: Minimum confidence.
        Returns:
        the minConfidence value.
      • withMinConfidence

        public ThreatIntelligenceFilteringCriteria withMinConfidence​(Integer minConfidence)
        Set the minConfidence property: Minimum confidence.
        Parameters:
        minConfidence - the minConfidence value to set.
        Returns:
        the ThreatIntelligenceFilteringCriteria object itself.
      • maxConfidence

        public Integer maxConfidence()
        Get the maxConfidence property: Maximum confidence.
        Returns:
        the maxConfidence value.
      • withMaxConfidence

        public ThreatIntelligenceFilteringCriteria withMaxConfidence​(Integer maxConfidence)
        Set the maxConfidence property: Maximum confidence.
        Parameters:
        maxConfidence - the maxConfidence value to set.
        Returns:
        the ThreatIntelligenceFilteringCriteria object itself.
      • minValidUntil

        public String minValidUntil()
        Get the minValidUntil property: Start time for ValidUntil filter.
        Returns:
        the minValidUntil value.
      • withMinValidUntil

        public ThreatIntelligenceFilteringCriteria withMinValidUntil​(String minValidUntil)
        Set the minValidUntil property: Start time for ValidUntil filter.
        Parameters:
        minValidUntil - the minValidUntil value to set.
        Returns:
        the ThreatIntelligenceFilteringCriteria object itself.
      • maxValidUntil

        public String maxValidUntil()
        Get the maxValidUntil property: End time for ValidUntil filter.
        Returns:
        the maxValidUntil value.
      • withMaxValidUntil

        public ThreatIntelligenceFilteringCriteria withMaxValidUntil​(String maxValidUntil)
        Set the maxValidUntil property: End time for ValidUntil filter.
        Parameters:
        maxValidUntil - the maxValidUntil value to set.
        Returns:
        the ThreatIntelligenceFilteringCriteria object itself.
      • includeDisabled

        public Boolean includeDisabled()
        Get the includeDisabled property: Parameter to include/exclude disabled indicators.
        Returns:
        the includeDisabled value.
      • withIncludeDisabled

        public ThreatIntelligenceFilteringCriteria withIncludeDisabled​(Boolean includeDisabled)
        Set the includeDisabled property: Parameter to include/exclude disabled indicators.
        Parameters:
        includeDisabled - the includeDisabled value to set.
        Returns:
        the ThreatIntelligenceFilteringCriteria object itself.
      • sources

        public List<String> sources()
        Get the sources property: Sources of threat intelligence indicators.
        Returns:
        the sources value.
      • withSources

        public ThreatIntelligenceFilteringCriteria withSources​(List<String> sources)
        Set the sources property: Sources of threat intelligence indicators.
        Parameters:
        sources - the sources value to set.
        Returns:
        the ThreatIntelligenceFilteringCriteria object itself.
      • patternTypes

        public List<String> patternTypes()
        Get the patternTypes property: Pattern types.
        Returns:
        the patternTypes value.
      • withPatternTypes

        public ThreatIntelligenceFilteringCriteria withPatternTypes​(List<String> patternTypes)
        Set the patternTypes property: Pattern types.
        Parameters:
        patternTypes - the patternTypes value to set.
        Returns:
        the ThreatIntelligenceFilteringCriteria object itself.
      • threatTypes

        public List<String> threatTypes()
        Get the threatTypes property: Threat types of threat intelligence indicators.
        Returns:
        the threatTypes value.
      • withThreatTypes

        public ThreatIntelligenceFilteringCriteria withThreatTypes​(List<String> threatTypes)
        Set the threatTypes property: Threat types of threat intelligence indicators.
        Parameters:
        threatTypes - the threatTypes value to set.
        Returns:
        the ThreatIntelligenceFilteringCriteria object itself.
      • ids

        public List<String> ids()
        Get the ids property: Ids of threat intelligence indicators.
        Returns:
        the ids value.
      • withIds

        public ThreatIntelligenceFilteringCriteria withIds​(List<String> ids)
        Set the ids property: Ids of threat intelligence indicators.
        Parameters:
        ids - the ids value to set.
        Returns:
        the ThreatIntelligenceFilteringCriteria object itself.
      • keywords

        public List<String> keywords()
        Get the keywords property: Keywords for searching threat intelligence indicators.
        Returns:
        the keywords value.
      • withKeywords

        public ThreatIntelligenceFilteringCriteria withKeywords​(List<String> keywords)
        Set the keywords property: Keywords for searching threat intelligence indicators.
        Parameters:
        keywords - the keywords value to set.
        Returns:
        the ThreatIntelligenceFilteringCriteria object itself.
      • skipToken

        public String skipToken()
        Get the skipToken property: Skip token.
        Returns:
        the skipToken value.
      • withSkipToken

        public ThreatIntelligenceFilteringCriteria withSkipToken​(String skipToken)
        Set the skipToken property: Skip token.
        Parameters:
        skipToken - the skipToken value to set.
        Returns:
        the ThreatIntelligenceFilteringCriteria object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.