GoogleBigQueryObjectDataset.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.azure.core.annotation.JsonFlatten;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/** Google BigQuery service dataset. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("GoogleBigQueryObject")
@JsonFlatten
@Fluent
public class GoogleBigQueryObjectDataset extends Dataset {
    /*
     * This property will be retired. Please consider using database + table
     * properties instead.
     */
    @JsonProperty(value = "typeProperties.tableName")
    private Object tableName;

    /*
     * The table name of the Google BigQuery. Type: string (or Expression with
     * resultType string).
     */
    @JsonProperty(value = "typeProperties.table")
    private Object table;

    /*
     * The database name of the Google BigQuery. Type: string (or Expression
     * with resultType string).
     */
    @JsonProperty(value = "typeProperties.dataset")
    private Object dataset;

    /**
     * Get the tableName property: This property will be retired. Please consider using database + table properties
     * instead.
     *
     * @return the tableName value.
     */
    public Object getTableName() {
        return this.tableName;
    }

    /**
     * Set the tableName property: This property will be retired. Please consider using database + table properties
     * instead.
     *
     * @param tableName the tableName value to set.
     * @return the GoogleBigQueryObjectDataset object itself.
     */
    public GoogleBigQueryObjectDataset setTableName(Object tableName) {
        this.tableName = tableName;
        return this;
    }

    /**
     * Get the table property: The table name of the Google BigQuery. Type: string (or Expression with resultType
     * string).
     *
     * @return the table value.
     */
    public Object getTable() {
        return this.table;
    }

    /**
     * Set the table property: The table name of the Google BigQuery. Type: string (or Expression with resultType
     * string).
     *
     * @param table the table value to set.
     * @return the GoogleBigQueryObjectDataset object itself.
     */
    public GoogleBigQueryObjectDataset setTable(Object table) {
        this.table = table;
        return this;
    }

    /**
     * Get the dataset property: The database name of the Google BigQuery. Type: string (or Expression with resultType
     * string).
     *
     * @return the dataset value.
     */
    public Object getDataset() {
        return this.dataset;
    }

    /**
     * Set the dataset property: The database name of the Google BigQuery. Type: string (or Expression with resultType
     * string).
     *
     * @param dataset the dataset value to set.
     * @return the GoogleBigQueryObjectDataset object itself.
     */
    public GoogleBigQueryObjectDataset setDataset(Object dataset) {
        this.dataset = dataset;
        return this;
    }
}