// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.securityinsights.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Threat intelligence metrics. */
@Fluent
public final class ThreatIntelligenceMetrics {
    /*
     * Threat intelligence metrics.
     */
    @JsonProperty(value = "properties")
    private ThreatIntelligenceMetric properties;

    /**
     * Get the properties property: Threat intelligence metrics.
     *
     * @return the properties value.
     */
    public ThreatIntelligenceMetric properties() {
        return this.properties;
    }

    /**
     * Set the properties property: Threat intelligence metrics.
     *
     * @param properties the properties value to set.
     * @return the ThreatIntelligenceMetrics object itself.
     */
    public ThreatIntelligenceMetrics withProperties(ThreatIntelligenceMetric properties) {
        this.properties = properties;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
        if (properties() != null) {
            properties().validate();
        }
    }
}
