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

package com.azure.analytics.synapse.spark.models;

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

/** The SparkStatementCancellationResult model. */
@Fluent
public final class SparkStatementCancellationResult {
    /*
     * The msg property from the Livy API. The value is always "canceled".
     */
    @JsonProperty(value = "msg")
    private String message;

    /**
     * Get the message property: The msg property from the Livy API. The value is always "canceled".
     *
     * @return the message value.
     */
    public String getMessage() {
        return this.message;
    }

    /**
     * Set the message property: The msg property from the Livy API. The value is always "canceled".
     *
     * @param message the message value to set.
     * @return the SparkStatementCancellationResult object itself.
     */
    public SparkStatementCancellationResult setMessage(String message) {
        this.message = message;
        return this;
    }
}
