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

com.pulumi.azurenative.operationalinsights.inputs.ColumnArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.operationalinsights.inputs;

import com.pulumi.azurenative.operationalinsights.enums.ColumnDataTypeHintEnum;
import com.pulumi.azurenative.operationalinsights.enums.ColumnTypeEnum;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Table column.
 * 
 */
public final class ColumnArgs extends com.pulumi.resources.ResourceArgs {

    public static final ColumnArgs Empty = new ColumnArgs();

    /**
     * Column data type logical hint.
     * 
     */
    @Import(name="dataTypeHint")
    private @Nullable Output> dataTypeHint;

    /**
     * @return Column data type logical hint.
     * 
     */
    public Optional>> dataTypeHint() {
        return Optional.ofNullable(this.dataTypeHint);
    }

    /**
     * Column description.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Column description.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Column display name.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return Column display name.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * Column name.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Column name.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Column data type.
     * 
     */
    @Import(name="type")
    private @Nullable Output> type;

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

    private ColumnArgs() {}

    private ColumnArgs(ColumnArgs $) {
        this.dataTypeHint = $.dataTypeHint;
        this.description = $.description;
        this.displayName = $.displayName;
        this.name = $.name;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ColumnArgs $;

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

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

        /**
         * @param dataTypeHint Column data type logical hint.
         * 
         * @return builder
         * 
         */
        public Builder dataTypeHint(@Nullable Output> dataTypeHint) {
            $.dataTypeHint = dataTypeHint;
            return this;
        }

        /**
         * @param dataTypeHint Column data type logical hint.
         * 
         * @return builder
         * 
         */
        public Builder dataTypeHint(Either dataTypeHint) {
            return dataTypeHint(Output.of(dataTypeHint));
        }

        /**
         * @param dataTypeHint Column data type logical hint.
         * 
         * @return builder
         * 
         */
        public Builder dataTypeHint(String dataTypeHint) {
            return dataTypeHint(Either.ofLeft(dataTypeHint));
        }

        /**
         * @param dataTypeHint Column data type logical hint.
         * 
         * @return builder
         * 
         */
        public Builder dataTypeHint(ColumnDataTypeHintEnum dataTypeHint) {
            return dataTypeHint(Either.ofRight(dataTypeHint));
        }

        /**
         * @param description Column description.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Column description.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param displayName Column display name.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName Column display name.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

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

        /**
         * @param name Column name.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

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

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

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

        /**
         * @param type Column data type.
         * 
         * @return builder
         * 
         */
        public Builder type(ColumnTypeEnum type) {
            return type(Either.ofRight(type));
        }

        public ColumnArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy