// 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;

/** Linked service reference type. */
@Fluent
public final class LinkedServiceReference {
    /*
     * Linked service reference type.
     */
    @JsonProperty(value = "type", required = true)
    private Type type;

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

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

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

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

    /**
     * Set the type property: Linked service reference type.
     *
     * @param type the type value to set.
     * @return the LinkedServiceReference object itself.
     */
    public LinkedServiceReference setType(Type type) {
        this.type = type;
        return this;
    }

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

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

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

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