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

package com.azure.resourcemanager.appcontainers.models;

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

/** Rendering details of a diagnostics table. */
@Fluent
public final class DiagnosticsStatus {
    /*
     * Diagnostic message
     */
    @JsonProperty(value = "message")
    private String message;

    /*
     * Status
     */
    @JsonProperty(value = "statusId")
    private Integer statusId;

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

    /**
     * Get the message property: Diagnostic message.
     *
     * @return the message value.
     */
    public String message() {
        return this.message;
    }

    /**
     * Set the message property: Diagnostic message.
     *
     * @param message the message value to set.
     * @return the DiagnosticsStatus object itself.
     */
    public DiagnosticsStatus withMessage(String message) {
        this.message = message;
        return this;
    }

    /**
     * Get the statusId property: Status.
     *
     * @return the statusId value.
     */
    public Integer statusId() {
        return this.statusId;
    }

    /**
     * Set the statusId property: Status.
     *
     * @param statusId the statusId value to set.
     * @return the DiagnosticsStatus object itself.
     */
    public DiagnosticsStatus withStatusId(Integer statusId) {
        this.statusId = statusId;
        return this;
    }

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