sdk/java/src/main/java/com/pulumi/ovh/Dbaas/inputs/LogsInputConfigurationArgs.java
<gh_stars>0// *** 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.ovh.Dbaas.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.ovh.Dbaas.inputs.LogsInputConfigurationFlowggerArgs;
import com.pulumi.ovh.Dbaas.inputs.LogsInputConfigurationLogstashArgs;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class LogsInputConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final LogsInputConfigurationArgs Empty = new LogsInputConfigurationArgs();

    /**
     * Flowgger configuration
     * 
     */
    @Import(name="flowgger")
    private @Nullable Output<LogsInputConfigurationFlowggerArgs> flowgger;

    /**
     * @return Flowgger configuration
     * 
     */
    public Optional<Output<LogsInputConfigurationFlowggerArgs>> flowgger() {
        return Optional.ofNullable(this.flowgger);
    }

    /**
     * Logstash configuration
     * 
     */
    @Import(name="logstash")
    private @Nullable Output<LogsInputConfigurationLogstashArgs> logstash;

    /**
     * @return Logstash configuration
     * 
     */
    public Optional<Output<LogsInputConfigurationLogstashArgs>> logstash() {
        return Optional.ofNullable(this.logstash);
    }

    private LogsInputConfigurationArgs() {}

    private LogsInputConfigurationArgs(LogsInputConfigurationArgs $) {
        this.flowgger = $.flowgger;
        this.logstash = $.logstash;
    }

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

    public static final class Builder {
        private LogsInputConfigurationArgs $;

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

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

        /**
         * @param flowgger Flowgger configuration
         * 
         * @return builder
         * 
         */
        public Builder flowgger(@Nullable Output<LogsInputConfigurationFlowggerArgs> flowgger) {
            $.flowgger = flowgger;
            return this;
        }

        /**
         * @param flowgger Flowgger configuration
         * 
         * @return builder
         * 
         */
        public Builder flowgger(LogsInputConfigurationFlowggerArgs flowgger) {
            return flowgger(Output.of(flowgger));
        }

        /**
         * @param logstash Logstash configuration
         * 
         * @return builder
         * 
         */
        public Builder logstash(@Nullable Output<LogsInputConfigurationLogstashArgs> logstash) {
            $.logstash = logstash;
            return this;
        }

        /**
         * @param logstash Logstash configuration
         * 
         * @return builder
         * 
         */
        public Builder logstash(LogsInputConfigurationLogstashArgs logstash) {
            return logstash(Output.of(logstash));
        }

        public LogsInputConfigurationArgs build() {
            return $;
        }
    }

}
