SparkConfigurationResource.java

// 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 Configuration resource type. */
@Fluent
public final class SparkConfigurationResource extends SubResource {
    /*
     * Information about a SparkConfiguration created at the workspace level.
     * Properties of Spark Configuration.
     */
    @JsonProperty(value = "properties", required = true)
    private SparkConfiguration properties;

    /**
     * Get the properties property: Information about a SparkConfiguration created at the workspace level. Properties of
     * Spark Configuration.
     *
     * @return the properties value.
     */
    public SparkConfiguration getProperties() {
        return this.properties;
    }

    /**
     * Set the properties property: Information about a SparkConfiguration created at the workspace level. Properties of
     * Spark Configuration.
     *
     * @param properties the properties value to set.
     * @return the SparkConfigurationResource object itself.
     */
    public SparkConfigurationResource setProperties(SparkConfiguration properties) {
        this.properties = properties;
        return this;
    }
}