Class ThreatIntelligenceMetricEntity
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.ThreatIntelligenceMetricEntity
-
public final class ThreatIntelligenceMetricEntity extends Object
Describes threat intelligence metric entity.
-
-
Constructor Summary
Constructors Constructor Description ThreatIntelligenceMetricEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
metricName()
Get the metricName property: Metric name.Integer
metricValue()
Get the metricValue property: Metric value.void
validate()
Validates the instance.ThreatIntelligenceMetricEntity
withMetricName(String metricName)
Set the metricName property: Metric name.ThreatIntelligenceMetricEntity
withMetricValue(Integer metricValue)
Set the metricValue property: Metric value.
-
-
-
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.
-
-