Class ThreatIntelligenceMetricEntity


  • public final class ThreatIntelligenceMetricEntity
    extends Object
    Describes threat intelligence metric entity.
    • Constructor Detail

      • ThreatIntelligenceMetricEntity

        public ThreatIntelligenceMetricEntity()
    • Method Detail

      • metricName

        public String metricName()
        Get the metricName property: Metric name.
        Returns:
        the metricName value.
      • withMetricName

        public ThreatIntelligenceMetricEntity withMetricName​(String metricName)
        Set the metricName property: Metric name.
        Parameters:
        metricName - the metricName value to set.
        Returns:
        the ThreatIntelligenceMetricEntity object itself.
      • metricValue

        public Integer metricValue()
        Get the metricValue property: Metric value.
        Returns:
        the metricValue value.
      • withMetricValue

        public ThreatIntelligenceMetricEntity withMetricValue​(Integer metricValue)
        Set the metricValue property: Metric value.
        Parameters:
        metricValue - the metricValue value to set.
        Returns:
        the ThreatIntelligenceMetricEntity object itself.
      • validate

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