// 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 reference. */
@Fluent
public final class SparkConfigurationReference {
    /*
     * Spark configuration reference type.
     */
    @JsonProperty(value = "type", required = true)
    private SparkConfigurationReferenceType type;

    /*
     * Reference spark configuration name.
     */
    @JsonProperty(value = "referenceName", required = true)
    private String referenceName;

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

    /**
     * Get the type property: Spark configuration reference type.
     *
     * @return the type value.
     */
    public SparkConfigurationReferenceType getType() {
        return this.type;
    }

    /**
     * Set the type property: Spark configuration reference type.
     *
     * @param type the type value to set.
     * @return the SparkConfigurationReference object itself.
     */
    public SparkConfigurationReference setType(SparkConfigurationReferenceType type) {
        this.type = type;
        return this;
    }

    /**
     * Get the referenceName property: Reference spark configuration name.
     *
     * @return the referenceName value.
     */
    public String getReferenceName() {
        return this.referenceName;
    }

    /**
     * Set the referenceName property: Reference spark configuration name.
     *
     * @param referenceName the referenceName value to set.
     * @return the SparkConfigurationReference object itself.
     */
    public SparkConfigurationReference setReferenceName(String referenceName) {
        this.referenceName = referenceName;
        return this;
    }
}
