// 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.models;

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

/** The classification of the health report. */
@Fluent
public final class HealthDataClassification {
    /*
     * The component describes the name of the agent/service that scans the issue
     */
    @JsonProperty(value = "component")
    private String component;

    /*
     * The scenario describes the health scenario issue of the component
     */
    @JsonProperty(value = "scenario")
    private String scenario;

    /*
     * The resource scope of the health report
     */
    @JsonProperty(value = "scope")
    private ScopeName scope;

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

    /**
     * Get the component property: The component describes the name of the agent/service that scans the issue.
     *
     * @return the component value.
     */
    public String component() {
        return this.component;
    }

    /**
     * Set the component property: The component describes the name of the agent/service that scans the issue.
     *
     * @param component the component value to set.
     * @return the HealthDataClassification object itself.
     */
    public HealthDataClassification withComponent(String component) {
        this.component = component;
        return this;
    }

    /**
     * Get the scenario property: The scenario describes the health scenario issue of the component.
     *
     * @return the scenario value.
     */
    public String scenario() {
        return this.scenario;
    }

    /**
     * Set the scenario property: The scenario describes the health scenario issue of the component.
     *
     * @param scenario the scenario value to set.
     * @return the HealthDataClassification object itself.
     */
    public HealthDataClassification withScenario(String scenario) {
        this.scenario = scenario;
        return this;
    }

    /**
     * Get the scope property: The resource scope of the health report.
     *
     * @return the scope value.
     */
    public ScopeName scope() {
        return this.scope;
    }

    /**
     * Set the scope property: The resource scope of the health report.
     *
     * @param scope the scope value to set.
     * @return the HealthDataClassification object itself.
     */
    public HealthDataClassification withScope(ScopeName scope) {
        this.scope = scope;
        return this;
    }

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