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

com.pulumi.azurenative.insights.outputs.DataFlowResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DataFlowResponse {
    /**
     * @return The builtIn transform to transform stream data
     * 
     */
    private @Nullable String builtInTransform;
    /**
     * @return List of destinations for this data flow.
     * 
     */
    private @Nullable List destinations;
    /**
     * @return The output stream of the transform. Only required if the transform changes data to a different stream.
     * 
     */
    private @Nullable String outputStream;
    /**
     * @return List of streams for this data flow.
     * 
     */
    private @Nullable List streams;
    /**
     * @return The KQL query to transform stream data.
     * 
     */
    private @Nullable String transformKql;

    private DataFlowResponse() {}
    /**
     * @return The builtIn transform to transform stream data
     * 
     */
    public Optional builtInTransform() {
        return Optional.ofNullable(this.builtInTransform);
    }
    /**
     * @return List of destinations for this data flow.
     * 
     */
    public List destinations() {
        return this.destinations == null ? List.of() : this.destinations;
    }
    /**
     * @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);
    }
    /**
     * @return List of streams for this data flow.
     * 
     */
    public List streams() {
        return this.streams == null ? List.of() : this.streams;
    }
    /**
     * @return The KQL query to transform stream data.
     * 
     */
    public Optional transformKql() {
        return Optional.ofNullable(this.transformKql);
    }

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

    public static Builder builder(DataFlowResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String builtInTransform;
        private @Nullable List destinations;
        private @Nullable String outputStream;
        private @Nullable List streams;
        private @Nullable String transformKql;
        public Builder() {}
        public Builder(DataFlowResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.builtInTransform = defaults.builtInTransform;
    	      this.destinations = defaults.destinations;
    	      this.outputStream = defaults.outputStream;
    	      this.streams = defaults.streams;
    	      this.transformKql = defaults.transformKql;
        }

        @CustomType.Setter
        public Builder builtInTransform(@Nullable String builtInTransform) {

            this.builtInTransform = builtInTransform;
            return this;
        }
        @CustomType.Setter
        public Builder destinations(@Nullable List destinations) {

            this.destinations = destinations;
            return this;
        }
        public Builder destinations(String... destinations) {
            return destinations(List.of(destinations));
        }
        @CustomType.Setter
        public Builder outputStream(@Nullable String outputStream) {

            this.outputStream = outputStream;
            return this;
        }
        @CustomType.Setter
        public Builder streams(@Nullable List streams) {

            this.streams = streams;
            return this;
        }
        public Builder streams(String... streams) {
            return streams(List.of(streams));
        }
        @CustomType.Setter
        public Builder transformKql(@Nullable String transformKql) {

            this.transformKql = transformKql;
            return this;
        }
        public DataFlowResponse build() {
            final var _resultValue = new DataFlowResponse();
            _resultValue.builtInTransform = builtInTransform;
            _resultValue.destinations = destinations;
            _resultValue.outputStream = outputStream;
            _resultValue.streams = streams;
            _resultValue.transformKql = transformKql;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy