sdk/java/src/main/java/com/pulumi/ovh/Dbaas/outputs/LogsInputConfigurationFlowgger.java
// *** 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class LogsInputConfigurationFlowgger {
    /**
     * @return Type of format to decode. One of &#34;RFC5424&#34;, &#34;LTSV&#34;, &#34;GELF&#34;, &#34;CAPNP&#34;
     * 
     */
    private String logFormat;
    /**
     * @return Indicates how messages are delimited. One of &#34;LINE&#34;, &#34;NUL&#34;, &#34;SYSLEN&#34;, &#34;CAPNP&#34;
     * 
     */
    private String logFraming;

    private LogsInputConfigurationFlowgger() {}
    /**
     * @return Type of format to decode. One of &#34;RFC5424&#34;, &#34;LTSV&#34;, &#34;GELF&#34;, &#34;CAPNP&#34;
     * 
     */
    public String logFormat() {
        return this.logFormat;
    }
    /**
     * @return Indicates how messages are delimited. One of &#34;LINE&#34;, &#34;NUL&#34;, &#34;SYSLEN&#34;, &#34;CAPNP&#34;
     * 
     */
    public String logFraming() {
        return this.logFraming;
    }

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

    public static Builder builder(LogsInputConfigurationFlowgger defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String logFormat;
        private String logFraming;
        public Builder() {}
        public Builder(LogsInputConfigurationFlowgger defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.logFormat = defaults.logFormat;
    	      this.logFraming = defaults.logFraming;
        }

        @CustomType.Setter
        public Builder logFormat(String logFormat) {
            this.logFormat = Objects.requireNonNull(logFormat);
            return this;
        }
        @CustomType.Setter
        public Builder logFraming(String logFraming) {
            this.logFraming = Objects.requireNonNull(logFraming);
            return this;
        }
        public LogsInputConfigurationFlowgger build() {
            final var o = new LogsInputConfigurationFlowgger();
            o.logFormat = logFormat;
            o.logFraming = logFraming;
            return o;
        }
    }
}
