All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.machinelearningservices.inputs.IndexColumnArgs Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.machinelearningservices.inputs;

import com.pulumi.azurenative.machinelearningservices.enums.FeatureDataType;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Dto object representing index column
 * 
 */
public final class IndexColumnArgs extends com.pulumi.resources.ResourceArgs {

    public static final IndexColumnArgs Empty = new IndexColumnArgs();

    /**
     * Specifies the column name
     * 
     */
    @Import(name="columnName")
    private @Nullable Output columnName;

    /**
     * @return Specifies the column name
     * 
     */
    public Optional> columnName() {
        return Optional.ofNullable(this.columnName);
    }

    /**
     * Specifies the data type
     * 
     */
    @Import(name="dataType")
    private @Nullable Output> dataType;

    /**
     * @return Specifies the data type
     * 
     */
    public Optional>> dataType() {
        return Optional.ofNullable(this.dataType);
    }

    private IndexColumnArgs() {}

    private IndexColumnArgs(IndexColumnArgs $) {
        this.columnName = $.columnName;
        this.dataType = $.dataType;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(IndexColumnArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private IndexColumnArgs $;

        public Builder() {
            $ = new IndexColumnArgs();
        }

        public Builder(IndexColumnArgs defaults) {
            $ = new IndexColumnArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param columnName Specifies the column name
         * 
         * @return builder
         * 
         */
        public Builder columnName(@Nullable Output columnName) {
            $.columnName = columnName;
            return this;
        }

        /**
         * @param columnName Specifies the column name
         * 
         * @return builder
         * 
         */
        public Builder columnName(String columnName) {
            return columnName(Output.of(columnName));
        }

        /**
         * @param dataType Specifies the data type
         * 
         * @return builder
         * 
         */
        public Builder dataType(@Nullable Output> dataType) {
            $.dataType = dataType;
            return this;
        }

        /**
         * @param dataType Specifies the data type
         * 
         * @return builder
         * 
         */
        public Builder dataType(Either dataType) {
            return dataType(Output.of(dataType));
        }

        /**
         * @param dataType Specifies the data type
         * 
         * @return builder
         * 
         */
        public Builder dataType(String dataType) {
            return dataType(Either.ofLeft(dataType));
        }

        /**
         * @param dataType Specifies the data type
         * 
         * @return builder
         * 
         */
        public Builder dataType(FeatureDataType dataType) {
            return dataType(Either.ofRight(dataType));
        }

        public IndexColumnArgs build() {
            $.dataType = Codegen.stringProp("dataType").left(FeatureDataType.class).output().arg($.dataType).def("String").getNullable();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy