SynapseNotebookReference.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;

/** Synapse notebook reference type. */
@Fluent
public final class SynapseNotebookReference {
    /*
     * Synapse notebook reference type.
     */
    @JsonProperty(value = "type", required = true)
    private NotebookReferenceType type;

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

    /**
     * Get the type property: Synapse notebook reference type.
     *
     * @return the type value.
     */
    public NotebookReferenceType getType() {
        return this.type;
    }

    /**
     * Set the type property: Synapse notebook reference type.
     *
     * @param type the type value to set.
     * @return the SynapseNotebookReference object itself.
     */
    public SynapseNotebookReference setType(NotebookReferenceType type) {
        this.type = type;
        return this;
    }

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

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