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

com.pulumi.splunk.InputsTcpSslArgs Maven / Gradle / Ivy

The 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.splunk;

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


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

    public static final InputsTcpSslArgs Empty = new InputsTcpSslArgs();

    /**
     * Indicates if input is disabled.
     * 
     */
    @Import(name="disabled")
    private @Nullable Output disabled;

    /**
     * @return Indicates if input is disabled.
     * 
     */
    public Optional> disabled() {
        return Optional.ofNullable(this.disabled);
    }

    /**
     * Server certificate password, if any.
     * 
     */
    @Import(name="password")
    private @Nullable Output password;

    /**
     * @return Server certificate password, if any.
     * 
     */
    public Optional> password() {
        return Optional.ofNullable(this.password);
    }

    /**
     * Determines whether a client must authenticate.
     * 
     */
    @Import(name="requireClientCert")
    private @Nullable Output requireClientCert;

    /**
     * @return Determines whether a client must authenticate.
     * 
     */
    public Optional> requireClientCert() {
        return Optional.ofNullable(this.requireClientCert);
    }

    /**
     * Certificate authority list (root file)
     * 
     */
    @Import(name="rootCa")
    private @Nullable Output rootCa;

    /**
     * @return Certificate authority list (root file)
     * 
     */
    public Optional> rootCa() {
        return Optional.ofNullable(this.rootCa);
    }

    /**
     * Full path to the server certificate.
     * 
     */
    @Import(name="serverCert")
    private @Nullable Output serverCert;

    /**
     * @return Full path to the server certificate.
     * 
     */
    public Optional> serverCert() {
        return Optional.ofNullable(this.serverCert);
    }

    private InputsTcpSslArgs() {}

    private InputsTcpSslArgs(InputsTcpSslArgs $) {
        this.disabled = $.disabled;
        this.password = $.password;
        this.requireClientCert = $.requireClientCert;
        this.rootCa = $.rootCa;
        this.serverCert = $.serverCert;
    }

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

    public static final class Builder {
        private InputsTcpSslArgs $;

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

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

        /**
         * @param disabled Indicates if input is disabled.
         * 
         * @return builder
         * 
         */
        public Builder disabled(@Nullable Output disabled) {
            $.disabled = disabled;
            return this;
        }

        /**
         * @param disabled Indicates if input is disabled.
         * 
         * @return builder
         * 
         */
        public Builder disabled(Boolean disabled) {
            return disabled(Output.of(disabled));
        }

        /**
         * @param password Server certificate password, if any.
         * 
         * @return builder
         * 
         */
        public Builder password(@Nullable Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password Server certificate password, if any.
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param requireClientCert Determines whether a client must authenticate.
         * 
         * @return builder
         * 
         */
        public Builder requireClientCert(@Nullable Output requireClientCert) {
            $.requireClientCert = requireClientCert;
            return this;
        }

        /**
         * @param requireClientCert Determines whether a client must authenticate.
         * 
         * @return builder
         * 
         */
        public Builder requireClientCert(Boolean requireClientCert) {
            return requireClientCert(Output.of(requireClientCert));
        }

        /**
         * @param rootCa Certificate authority list (root file)
         * 
         * @return builder
         * 
         */
        public Builder rootCa(@Nullable Output rootCa) {
            $.rootCa = rootCa;
            return this;
        }

        /**
         * @param rootCa Certificate authority list (root file)
         * 
         * @return builder
         * 
         */
        public Builder rootCa(String rootCa) {
            return rootCa(Output.of(rootCa));
        }

        /**
         * @param serverCert Full path to the server certificate.
         * 
         * @return builder
         * 
         */
        public Builder serverCert(@Nullable Output serverCert) {
            $.serverCert = serverCert;
            return this;
        }

        /**
         * @param serverCert Full path to the server certificate.
         * 
         * @return builder
         * 
         */
        public Builder serverCert(String serverCert) {
            return serverCert(Output.of(serverCert));
        }

        public InputsTcpSslArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy