Class ThreatIntelligenceGranularMarkingModel


  • public final class ThreatIntelligenceGranularMarkingModel
    extends Object
    Describes threat granular marking model entity.
    • Constructor Detail

      • ThreatIntelligenceGranularMarkingModel

        public ThreatIntelligenceGranularMarkingModel()
    • Method Detail

      • language

        public String language()
        Get the language property: Language granular marking model.
        Returns:
        the language value.
      • withLanguage

        public ThreatIntelligenceGranularMarkingModel withLanguage​(String language)
        Set the language property: Language granular marking model.
        Parameters:
        language - the language value to set.
        Returns:
        the ThreatIntelligenceGranularMarkingModel object itself.
      • markingRef

        public Integer markingRef()
        Get the markingRef property: marking reference granular marking model.
        Returns:
        the markingRef value.
      • withMarkingRef

        public ThreatIntelligenceGranularMarkingModel withMarkingRef​(Integer markingRef)
        Set the markingRef property: marking reference granular marking model.
        Parameters:
        markingRef - the markingRef value to set.
        Returns:
        the ThreatIntelligenceGranularMarkingModel object itself.
      • selectors

        public List<String> selectors()
        Get the selectors property: granular marking model selectors.
        Returns:
        the selectors value.
      • withSelectors

        public ThreatIntelligenceGranularMarkingModel withSelectors​(List<String> selectors)
        Set the selectors property: granular marking model selectors.
        Parameters:
        selectors - the selectors value to set.
        Returns:
        the ThreatIntelligenceGranularMarkingModel object itself.
      • validate

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