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

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

/** Spark job definition resource type. */
@Fluent
public final class SparkJobDefinitionResource extends SubResource {
    /*
     * Properties of spark job definition.
     */
    @JsonProperty(value = "properties", required = true)
    private SparkJobDefinition properties;

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

    /**
     * Get the properties property: Properties of spark job definition.
     *
     * @return the properties value.
     */
    public SparkJobDefinition getProperties() {
        return this.properties;
    }

    /**
     * Set the properties property: Properties of spark job definition.
     *
     * @param properties the properties value to set.
     * @return the SparkJobDefinitionResource object itself.
     */
    public SparkJobDefinitionResource setProperties(SparkJobDefinition properties) {
        this.properties = properties;
        return this;
    }
}
