// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.datafactory.fluent.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Teradata dataset properties. */
@Fluent
public final class TeradataTableDatasetTypeProperties {
    /*
     * The database name of Teradata. Type: string (or Expression with resultType string).
     */
    @JsonProperty(value = "database")
    private Object database;

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

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

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

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

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

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

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
