/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.applicationinsights.query.models;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The trace information.
 */
public class EventsTraceInfo {
    /**
     * The trace message.
     */
    @JsonProperty(value = "message")
    private String message;

    /**
     * The trace severity level.
     */
    @JsonProperty(value = "severityLevel")
    private Integer severityLevel;

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

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

    /**
     * Get the trace severity level.
     *
     * @return the severityLevel value
     */
    public Integer severityLevel() {
        return this.severityLevel;
    }

    /**
     * Set the trace severity level.
     *
     * @param severityLevel the severityLevel value to set
     * @return the EventsTraceInfo object itself.
     */
    public EventsTraceInfo withSeverityLevel(Integer severityLevel) {
        this.severityLevel = severityLevel;
        return this;
    }

}
