DatasetReference.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;
import java.util.Map;

/** Dataset reference type. */
@Fluent
public final class DatasetReference {
    /*
     * Dataset reference type.
     */
    @JsonProperty(value = "type", required = true)
    private DatasetReferenceType type;

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

    /*
     * Arguments for dataset.
     */
    @JsonProperty(value = "parameters")
    private Map<String, Object> parameters;

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

    /**
     * Set the type property: Dataset reference type.
     *
     * @param type the type value to set.
     * @return the DatasetReference object itself.
     */
    public DatasetReference setType(DatasetReferenceType type) {
        this.type = type;
        return this;
    }

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

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

    /**
     * Get the parameters property: Arguments for dataset.
     *
     * @return the parameters value.
     */
    public Map<String, Object> getParameters() {
        return this.parameters;
    }

    /**
     * Set the parameters property: Arguments for dataset.
     *
     * @param parameters the parameters value to set.
     * @return the DatasetReference object itself.
     */
    public DatasetReference setParameters(Map<String, Object> parameters) {
        this.parameters = parameters;
        return this;
    }
}