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

    /*
     * Reference spark configuration name. Type: string (or Expression with resultType string).
     */
    @JsonProperty(value = "referenceName", required = true)
    private Object referenceName;

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

    /**
     * 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 SparkConfigurationParametrizationReference object itself.
     */
    public SparkConfigurationParametrizationReference setType(SparkConfigurationReferenceType type) {
        this.type = type;
        return this;
    }

    /**
     * Get the referenceName property: Reference spark configuration name. Type: string (or Expression with resultType
     * string).
     *
     * @return the referenceName value.
     */
    public Object getReferenceName() {
        return this.referenceName;
    }

    /**
     * Set the referenceName property: Reference spark configuration name. Type: string (or Expression with resultType
     * string).
     *
     * @param referenceName the referenceName value to set.
     * @return the SparkConfigurationParametrizationReference object itself.
     */
    public SparkConfigurationParametrizationReference setReferenceName(Object referenceName) {
        this.referenceName = referenceName;
        return this;
    }
}
