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

package com.azure.resourcemanager.security.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.security.models.ReportedSeverity;
import com.fasterxml.jackson.annotation.JsonProperty;

/** IoT Security solution aggregated recommendation information. */
@Fluent
public final class IoTSecurityAggregatedRecommendationProperties {
    /*
     * Name of the recommendation.
     */
    @JsonProperty(value = "recommendationName")
    private String recommendationName;

    /*
     * Display name of the recommendation type.
     */
    @JsonProperty(value = "recommendationDisplayName", access = JsonProperty.Access.WRITE_ONLY)
    private String recommendationDisplayName;

    /*
     * Description of the suspected vulnerability and meaning.
     */
    @JsonProperty(value = "description", access = JsonProperty.Access.WRITE_ONLY)
    private String description;

    /*
     * Recommendation-type GUID.
     */
    @JsonProperty(value = "recommendationTypeId", access = JsonProperty.Access.WRITE_ONLY)
    private String recommendationTypeId;

    /*
     * Name of the organization that made the recommendation.
     */
    @JsonProperty(value = "detectedBy", access = JsonProperty.Access.WRITE_ONLY)
    private String detectedBy;

    /*
     * Recommended steps for remediation
     */
    @JsonProperty(value = "remediationSteps", access = JsonProperty.Access.WRITE_ONLY)
    private String remediationSteps;

    /*
     * Assessed recommendation severity.
     */
    @JsonProperty(value = "reportedSeverity", access = JsonProperty.Access.WRITE_ONLY)
    private ReportedSeverity reportedSeverity;

    /*
     * Number of healthy devices within the IoT Security solution.
     */
    @JsonProperty(value = "healthyDevices", access = JsonProperty.Access.WRITE_ONLY)
    private Long healthyDevices;

    /*
     * Number of unhealthy devices within the IoT Security solution.
     */
    @JsonProperty(value = "unhealthyDeviceCount", access = JsonProperty.Access.WRITE_ONLY)
    private Long unhealthyDeviceCount;

    /*
     * Log analytics query for getting the list of affected devices/alerts.
     */
    @JsonProperty(value = "logAnalyticsQuery", access = JsonProperty.Access.WRITE_ONLY)
    private String logAnalyticsQuery;

    /** Creates an instance of IoTSecurityAggregatedRecommendationProperties class. */
    public IoTSecurityAggregatedRecommendationProperties() {
    }

    /**
     * Get the recommendationName property: Name of the recommendation.
     *
     * @return the recommendationName value.
     */
    public String recommendationName() {
        return this.recommendationName;
    }

    /**
     * Set the recommendationName property: Name of the recommendation.
     *
     * @param recommendationName the recommendationName value to set.
     * @return the IoTSecurityAggregatedRecommendationProperties object itself.
     */
    public IoTSecurityAggregatedRecommendationProperties withRecommendationName(String recommendationName) {
        this.recommendationName = recommendationName;
        return this;
    }

    /**
     * Get the recommendationDisplayName property: Display name of the recommendation type.
     *
     * @return the recommendationDisplayName value.
     */
    public String recommendationDisplayName() {
        return this.recommendationDisplayName;
    }

    /**
     * Get the description property: Description of the suspected vulnerability and meaning.
     *
     * @return the description value.
     */
    public String description() {
        return this.description;
    }

    /**
     * Get the recommendationTypeId property: Recommendation-type GUID.
     *
     * @return the recommendationTypeId value.
     */
    public String recommendationTypeId() {
        return this.recommendationTypeId;
    }

    /**
     * Get the detectedBy property: Name of the organization that made the recommendation.
     *
     * @return the detectedBy value.
     */
    public String detectedBy() {
        return this.detectedBy;
    }

    /**
     * Get the remediationSteps property: Recommended steps for remediation.
     *
     * @return the remediationSteps value.
     */
    public String remediationSteps() {
        return this.remediationSteps;
    }

    /**
     * Get the reportedSeverity property: Assessed recommendation severity.
     *
     * @return the reportedSeverity value.
     */
    public ReportedSeverity reportedSeverity() {
        return this.reportedSeverity;
    }

    /**
     * Get the healthyDevices property: Number of healthy devices within the IoT Security solution.
     *
     * @return the healthyDevices value.
     */
    public Long healthyDevices() {
        return this.healthyDevices;
    }

    /**
     * Get the unhealthyDeviceCount property: Number of unhealthy devices within the IoT Security solution.
     *
     * @return the unhealthyDeviceCount value.
     */
    public Long unhealthyDeviceCount() {
        return this.unhealthyDeviceCount;
    }

    /**
     * Get the logAnalyticsQuery property: Log analytics query for getting the list of affected devices/alerts.
     *
     * @return the logAnalyticsQuery value.
     */
    public String logAnalyticsQuery() {
        return this.logAnalyticsQuery;
    }

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