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

com.pulumi.splunk.GlobalHttpEventCollectorArgs 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.splunk;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GlobalHttpEventCollectorArgs Empty = new GlobalHttpEventCollectorArgs();

    /**
     * Number of threads used by HTTP Input server.
     * 
     */
    @Import(name="dedicatedIoThreads")
    private @Nullable Output dedicatedIoThreads;

    /**
     * @return Number of threads used by HTTP Input server.
     * 
     */
    public Optional> dedicatedIoThreads() {
        return Optional.ofNullable(this.dedicatedIoThreads);
    }

    /**
     * Input disabled indicator.
     * 
     */
    @Import(name="disabled")
    private @Nullable Output disabled;

    /**
     * @return Input disabled indicator.
     * 
     */
    public Optional> disabled() {
        return Optional.ofNullable(this.disabled);
    }

    /**
     * Enable SSL protocol for HTTP data input. `true` = SSL enabled, `false` = SSL disabled.
     * 
     */
    @Import(name="enableSsl")
    private @Nullable Output enableSsl;

    /**
     * @return Enable SSL protocol for HTTP data input. `true` = SSL enabled, `false` = SSL disabled.
     * 
     */
    public Optional> enableSsl() {
        return Optional.ofNullable(this.enableSsl);
    }

    /**
     * Maximum number of simultaneous HTTP connections accepted. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.
     * 
     */
    @Import(name="maxSockets")
    private @Nullable Output maxSockets;

    /**
     * @return Maximum number of simultaneous HTTP connections accepted. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.
     * 
     */
    public Optional> maxSockets() {
        return Optional.ofNullable(this.maxSockets);
    }

    /**
     * Maximum number of threads that can be used by active HTTP transactions. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.
     * 
     */
    @Import(name="maxThreads")
    private @Nullable Output maxThreads;

    /**
     * @return Maximum number of threads that can be used by active HTTP transactions. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.
     * 
     */
    public Optional> maxThreads() {
        return Optional.ofNullable(this.maxThreads);
    }

    /**
     * HTTP data input IP port.
     * 
     */
    @Import(name="port")
    private @Nullable Output port;

    /**
     * @return HTTP data input IP port.
     * 
     */
    public Optional> port() {
        return Optional.ofNullable(this.port);
    }

    /**
     * Indicates whether the event collector input writes its configuration to a deployment server repository. When this setting is set to 1 (enabled), the input writes its configuration to the directory specified as repositoryLocation in serverclass.conf.
     * Copy the full contents of the splunk_httpinput app directory to this directory for the configuration to work. When enabled, only the tokens defined in the splunk_httpinput app in this repository are viewable and editable on the API and the Data Inputs page in Splunk Web. When disabled, the input writes its configuration to $SPLUNK_HOME/etc/apps by default. Defaults to 0 (disabled).
     * 
     */
    @Import(name="useDeploymentServer")
    private @Nullable Output useDeploymentServer;

    /**
     * @return Indicates whether the event collector input writes its configuration to a deployment server repository. When this setting is set to 1 (enabled), the input writes its configuration to the directory specified as repositoryLocation in serverclass.conf.
     * Copy the full contents of the splunk_httpinput app directory to this directory for the configuration to work. When enabled, only the tokens defined in the splunk_httpinput app in this repository are viewable and editable on the API and the Data Inputs page in Splunk Web. When disabled, the input writes its configuration to $SPLUNK_HOME/etc/apps by default. Defaults to 0 (disabled).
     * 
     */
    public Optional> useDeploymentServer() {
        return Optional.ofNullable(this.useDeploymentServer);
    }

    private GlobalHttpEventCollectorArgs() {}

    private GlobalHttpEventCollectorArgs(GlobalHttpEventCollectorArgs $) {
        this.dedicatedIoThreads = $.dedicatedIoThreads;
        this.disabled = $.disabled;
        this.enableSsl = $.enableSsl;
        this.maxSockets = $.maxSockets;
        this.maxThreads = $.maxThreads;
        this.port = $.port;
        this.useDeploymentServer = $.useDeploymentServer;
    }

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

    public static final class Builder {
        private GlobalHttpEventCollectorArgs $;

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

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

        /**
         * @param dedicatedIoThreads Number of threads used by HTTP Input server.
         * 
         * @return builder
         * 
         */
        public Builder dedicatedIoThreads(@Nullable Output dedicatedIoThreads) {
            $.dedicatedIoThreads = dedicatedIoThreads;
            return this;
        }

        /**
         * @param dedicatedIoThreads Number of threads used by HTTP Input server.
         * 
         * @return builder
         * 
         */
        public Builder dedicatedIoThreads(Integer dedicatedIoThreads) {
            return dedicatedIoThreads(Output.of(dedicatedIoThreads));
        }

        /**
         * @param disabled Input disabled indicator.
         * 
         * @return builder
         * 
         */
        public Builder disabled(@Nullable Output disabled) {
            $.disabled = disabled;
            return this;
        }

        /**
         * @param disabled Input disabled indicator.
         * 
         * @return builder
         * 
         */
        public Builder disabled(Boolean disabled) {
            return disabled(Output.of(disabled));
        }

        /**
         * @param enableSsl Enable SSL protocol for HTTP data input. `true` = SSL enabled, `false` = SSL disabled.
         * 
         * @return builder
         * 
         */
        public Builder enableSsl(@Nullable Output enableSsl) {
            $.enableSsl = enableSsl;
            return this;
        }

        /**
         * @param enableSsl Enable SSL protocol for HTTP data input. `true` = SSL enabled, `false` = SSL disabled.
         * 
         * @return builder
         * 
         */
        public Builder enableSsl(Boolean enableSsl) {
            return enableSsl(Output.of(enableSsl));
        }

        /**
         * @param maxSockets Maximum number of simultaneous HTTP connections accepted. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.
         * 
         * @return builder
         * 
         */
        public Builder maxSockets(@Nullable Output maxSockets) {
            $.maxSockets = maxSockets;
            return this;
        }

        /**
         * @param maxSockets Maximum number of simultaneous HTTP connections accepted. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.
         * 
         * @return builder
         * 
         */
        public Builder maxSockets(Integer maxSockets) {
            return maxSockets(Output.of(maxSockets));
        }

        /**
         * @param maxThreads Maximum number of threads that can be used by active HTTP transactions. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.
         * 
         * @return builder
         * 
         */
        public Builder maxThreads(@Nullable Output maxThreads) {
            $.maxThreads = maxThreads;
            return this;
        }

        /**
         * @param maxThreads Maximum number of threads that can be used by active HTTP transactions. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.
         * 
         * @return builder
         * 
         */
        public Builder maxThreads(Integer maxThreads) {
            return maxThreads(Output.of(maxThreads));
        }

        /**
         * @param port HTTP data input IP port.
         * 
         * @return builder
         * 
         */
        public Builder port(@Nullable Output port) {
            $.port = port;
            return this;
        }

        /**
         * @param port HTTP data input IP port.
         * 
         * @return builder
         * 
         */
        public Builder port(Integer port) {
            return port(Output.of(port));
        }

        /**
         * @param useDeploymentServer Indicates whether the event collector input writes its configuration to a deployment server repository. When this setting is set to 1 (enabled), the input writes its configuration to the directory specified as repositoryLocation in serverclass.conf.
         * Copy the full contents of the splunk_httpinput app directory to this directory for the configuration to work. When enabled, only the tokens defined in the splunk_httpinput app in this repository are viewable and editable on the API and the Data Inputs page in Splunk Web. When disabled, the input writes its configuration to $SPLUNK_HOME/etc/apps by default. Defaults to 0 (disabled).
         * 
         * @return builder
         * 
         */
        public Builder useDeploymentServer(@Nullable Output useDeploymentServer) {
            $.useDeploymentServer = useDeploymentServer;
            return this;
        }

        /**
         * @param useDeploymentServer Indicates whether the event collector input writes its configuration to a deployment server repository. When this setting is set to 1 (enabled), the input writes its configuration to the directory specified as repositoryLocation in serverclass.conf.
         * Copy the full contents of the splunk_httpinput app directory to this directory for the configuration to work. When enabled, only the tokens defined in the splunk_httpinput app in this repository are viewable and editable on the API and the Data Inputs page in Splunk Web. When disabled, the input writes its configuration to $SPLUNK_HOME/etc/apps by default. Defaults to 0 (disabled).
         * 
         * @return builder
         * 
         */
        public Builder useDeploymentServer(Integer useDeploymentServer) {
            return useDeploymentServer(Output.of(useDeploymentServer));
        }

        public GlobalHttpEventCollectorArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy