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

/** The KqlScriptContentCurrentConnection model. */
@Fluent
public final class KqlScriptContentCurrentConnection {
    /*
     * The name property.
     */
    @JsonProperty(value = "name")
    private String name;

    /*
     * The poolName property.
     */
    @JsonProperty(value = "poolName")
    private String poolName;

    /*
     * The databaseName property.
     */
    @JsonProperty(value = "databaseName")
    private String databaseName;

    /*
     * The type property.
     */
    @JsonProperty(value = "type")
    private String type;

    /**
     * Get the name property: The name property.
     *
     * @return the name value.
     */
    public String getName() {
        return this.name;
    }

    /**
     * Set the name property: The name property.
     *
     * @param name the name value to set.
     * @return the KqlScriptContentCurrentConnection object itself.
     */
    public KqlScriptContentCurrentConnection setName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get the poolName property: The poolName property.
     *
     * @return the poolName value.
     */
    public String getPoolName() {
        return this.poolName;
    }

    /**
     * Set the poolName property: The poolName property.
     *
     * @param poolName the poolName value to set.
     * @return the KqlScriptContentCurrentConnection object itself.
     */
    public KqlScriptContentCurrentConnection setPoolName(String poolName) {
        this.poolName = poolName;
        return this;
    }

    /**
     * Get the databaseName property: The databaseName property.
     *
     * @return the databaseName value.
     */
    public String getDatabaseName() {
        return this.databaseName;
    }

    /**
     * Set the databaseName property: The databaseName property.
     *
     * @param databaseName the databaseName value to set.
     * @return the KqlScriptContentCurrentConnection object itself.
     */
    public KqlScriptContentCurrentConnection setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
        return this;
    }

    /**
     * Get the type property: The type property.
     *
     * @return the type value.
     */
    public String getType() {
        return this.type;
    }

    /**
     * Set the type property: The type property.
     *
     * @param type the type value to set.
     * @return the KqlScriptContentCurrentConnection object itself.
     */
    public KqlScriptContentCurrentConnection setType(String type) {
        this.type = type;
        return this;
    }
}