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

com.pulumi.azurenative.insights.inputs.StreamDeclarationArgs 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.insights.inputs;

import com.pulumi.azurenative.insights.inputs.ColumnDefinitionArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Declaration of a custom stream.
 * 
 */
public final class StreamDeclarationArgs extends com.pulumi.resources.ResourceArgs {

    public static final StreamDeclarationArgs Empty = new StreamDeclarationArgs();

    /**
     * List of columns used by data in this stream.
     * 
     */
    @Import(name="columns")
    private @Nullable Output> columns;

    /**
     * @return List of columns used by data in this stream.
     * 
     */
    public Optional>> columns() {
        return Optional.ofNullable(this.columns);
    }

    private StreamDeclarationArgs() {}

    private StreamDeclarationArgs(StreamDeclarationArgs $) {
        this.columns = $.columns;
    }

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

    public static final class Builder {
        private StreamDeclarationArgs $;

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

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

        /**
         * @param columns List of columns used by data in this stream.
         * 
         * @return builder
         * 
         */
        public Builder columns(@Nullable Output> columns) {
            $.columns = columns;
            return this;
        }

        /**
         * @param columns List of columns used by data in this stream.
         * 
         * @return builder
         * 
         */
        public Builder columns(List columns) {
            return columns(Output.of(columns));
        }

        /**
         * @param columns List of columns used by data in this stream.
         * 
         * @return builder
         * 
         */
        public Builder columns(ColumnDefinitionArgs... columns) {
            return columns(List.of(columns));
        }

        public StreamDeclarationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy