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

package com.azure.resourcemanager.streamanalytics.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Describes an output column for the Azure Machine Learning web service endpoint. */
@Fluent
public final class AzureMachineLearningWebServiceOutputColumn {
    @JsonIgnore private final ClientLogger logger = new ClientLogger(AzureMachineLearningWebServiceOutputColumn.class);

    /*
     * The name of the output column.
     */
    @JsonProperty(value = "name")
    private String name;

    /*
     * The (Azure Machine Learning supported) data type of the output column. A
     * list of valid  Azure Machine Learning data types are described at
     * https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx .
     */
    @JsonProperty(value = "dataType")
    private String dataType;

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

    /**
     * Set the name property: The name of the output column.
     *
     * @param name the name value to set.
     * @return the AzureMachineLearningWebServiceOutputColumn object itself.
     */
    public AzureMachineLearningWebServiceOutputColumn withName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get the dataType property: The (Azure Machine Learning supported) data type of the output column. A list of valid
     * Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx .
     *
     * @return the dataType value.
     */
    public String dataType() {
        return this.dataType;
    }

    /**
     * Set the dataType property: The (Azure Machine Learning supported) data type of the output column. A list of valid
     * Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx .
     *
     * @param dataType the dataType value to set.
     * @return the AzureMachineLearningWebServiceOutputColumn object itself.
     */
    public AzureMachineLearningWebServiceOutputColumn withDataType(String dataType) {
        this.dataType = dataType;
        return this;
    }

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