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

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

import com.pulumi.azurenative.insights.enums.KnownDataFlowStreams;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of which streams are sent to which destinations.
 * 
 */
public final class DataFlowArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataFlowArgs Empty = new DataFlowArgs();

    /**
     * The builtIn transform to transform stream data
     * 
     */
    @Import(name="builtInTransform")
    private @Nullable Output builtInTransform;

    /**
     * @return The builtIn transform to transform stream data
     * 
     */
    public Optional> builtInTransform() {
        return Optional.ofNullable(this.builtInTransform);
    }

    /**
     * List of destinations for this data flow.
     * 
     */
    @Import(name="destinations")
    private @Nullable Output> destinations;

    /**
     * @return List of destinations for this data flow.
     * 
     */
    public Optional>> destinations() {
        return Optional.ofNullable(this.destinations);
    }

    /**
     * The output stream of the transform. Only required if the transform changes data to a different stream.
     * 
     */
    @Import(name="outputStream")
    private @Nullable Output outputStream;

    /**
     * @return The output stream of the transform. Only required if the transform changes data to a different stream.
     * 
     */
    public Optional> outputStream() {
        return Optional.ofNullable(this.outputStream);
    }

    /**
     * List of streams for this data flow.
     * 
     */
    @Import(name="streams")
    private @Nullable Output>> streams;

    /**
     * @return List of streams for this data flow.
     * 
     */
    public Optional>>> streams() {
        return Optional.ofNullable(this.streams);
    }

    /**
     * The KQL query to transform stream data.
     * 
     */
    @Import(name="transformKql")
    private @Nullable Output transformKql;

    /**
     * @return The KQL query to transform stream data.
     * 
     */
    public Optional> transformKql() {
        return Optional.ofNullable(this.transformKql);
    }

    private DataFlowArgs() {}

    private DataFlowArgs(DataFlowArgs $) {
        this.builtInTransform = $.builtInTransform;
        this.destinations = $.destinations;
        this.outputStream = $.outputStream;
        this.streams = $.streams;
        this.transformKql = $.transformKql;
    }

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

    public static final class Builder {
        private DataFlowArgs $;

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

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

        /**
         * @param builtInTransform The builtIn transform to transform stream data
         * 
         * @return builder
         * 
         */
        public Builder builtInTransform(@Nullable Output builtInTransform) {
            $.builtInTransform = builtInTransform;
            return this;
        }

        /**
         * @param builtInTransform The builtIn transform to transform stream data
         * 
         * @return builder
         * 
         */
        public Builder builtInTransform(String builtInTransform) {
            return builtInTransform(Output.of(builtInTransform));
        }

        /**
         * @param destinations List of destinations for this data flow.
         * 
         * @return builder
         * 
         */
        public Builder destinations(@Nullable Output> destinations) {
            $.destinations = destinations;
            return this;
        }

        /**
         * @param destinations List of destinations for this data flow.
         * 
         * @return builder
         * 
         */
        public Builder destinations(List destinations) {
            return destinations(Output.of(destinations));
        }

        /**
         * @param destinations List of destinations for this data flow.
         * 
         * @return builder
         * 
         */
        public Builder destinations(String... destinations) {
            return destinations(List.of(destinations));
        }

        /**
         * @param outputStream The output stream of the transform. Only required if the transform changes data to a different stream.
         * 
         * @return builder
         * 
         */
        public Builder outputStream(@Nullable Output outputStream) {
            $.outputStream = outputStream;
            return this;
        }

        /**
         * @param outputStream The output stream of the transform. Only required if the transform changes data to a different stream.
         * 
         * @return builder
         * 
         */
        public Builder outputStream(String outputStream) {
            return outputStream(Output.of(outputStream));
        }

        /**
         * @param streams List of streams for this data flow.
         * 
         * @return builder
         * 
         */
        public Builder streams(@Nullable Output>> streams) {
            $.streams = streams;
            return this;
        }

        /**
         * @param streams List of streams for this data flow.
         * 
         * @return builder
         * 
         */
        public Builder streams(List> streams) {
            return streams(Output.of(streams));
        }

        /**
         * @param streams List of streams for this data flow.
         * 
         * @return builder
         * 
         */
        public Builder streams(Either... streams) {
            return streams(List.of(streams));
        }

        /**
         * @param transformKql The KQL query to transform stream data.
         * 
         * @return builder
         * 
         */
        public Builder transformKql(@Nullable Output transformKql) {
            $.transformKql = transformKql;
            return this;
        }

        /**
         * @param transformKql The KQL query to transform stream data.
         * 
         * @return builder
         * 
         */
        public Builder transformKql(String transformKql) {
            return transformKql(Output.of(transformKql));
        }

        public DataFlowArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy