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

package com.azure.resourcemanager.appcomplianceautomation.models;

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

/** A class represent the assessment resource. */
@Immutable
public final class AssessmentResource {
    /*
     * The Id of the resource.
     */
    @JsonProperty(value = "resourceId", access = JsonProperty.Access.WRITE_ONLY)
    private String resourceId;

    /*
     * Resource status.
     */
    @JsonProperty(value = "resourceStatus", access = JsonProperty.Access.WRITE_ONLY)
    private ResourceStatus resourceStatus;

    /*
     * The reason for the N/A resource.
     */
    @JsonProperty(value = "reason", access = JsonProperty.Access.WRITE_ONLY)
    private String reason;

    /*
     * The status change date for the resource. For unavailable date, set it as N/A.
     */
    @JsonProperty(value = "statusChangeDate", access = JsonProperty.Access.WRITE_ONLY)
    private String statusChangeDate;

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

    /**
     * Get the resourceId property: The Id of the resource.
     *
     * @return the resourceId value.
     */
    public String resourceId() {
        return this.resourceId;
    }

    /**
     * Get the resourceStatus property: Resource status.
     *
     * @return the resourceStatus value.
     */
    public ResourceStatus resourceStatus() {
        return this.resourceStatus;
    }

    /**
     * Get the reason property: The reason for the N/A resource.
     *
     * @return the reason value.
     */
    public String reason() {
        return this.reason;
    }

    /**
     * Get the statusChangeDate property: The status change date for the resource. For unavailable date, set it as N/A.
     *
     * @return the statusChangeDate value.
     */
    public String statusChangeDate() {
        return this.statusChangeDate;
    }

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