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

com.pulumi.azurenative.azurearcdata.inputs.K8sNetworkSettingsArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.azurearcdata.inputs;

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


/**
 * The kubernetes network settings information.
 * 
 */
public final class K8sNetworkSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final K8sNetworkSettingsArgs Empty = new K8sNetworkSettingsArgs();

    /**
     * If 1, then SQL Server forces all connections to be encrypted. By default, this option is 0
     * 
     */
    @Import(name="forceencryption")
    private @Nullable Output forceencryption;

    /**
     * @return If 1, then SQL Server forces all connections to be encrypted. By default, this option is 0
     * 
     */
    public Optional> forceencryption() {
        return Optional.ofNullable(this.forceencryption);
    }

    /**
     * Specifies which ciphers are allowed by SQL Server for TLS
     * 
     */
    @Import(name="tlsciphers")
    private @Nullable Output tlsciphers;

    /**
     * @return Specifies which ciphers are allowed by SQL Server for TLS
     * 
     */
    public Optional> tlsciphers() {
        return Optional.ofNullable(this.tlsciphers);
    }

    /**
     * A comma-separated list of which TLS protocols are allowed by SQL Server
     * 
     */
    @Import(name="tlsprotocols")
    private @Nullable Output tlsprotocols;

    /**
     * @return A comma-separated list of which TLS protocols are allowed by SQL Server
     * 
     */
    public Optional> tlsprotocols() {
        return Optional.ofNullable(this.tlsprotocols);
    }

    private K8sNetworkSettingsArgs() {}

    private K8sNetworkSettingsArgs(K8sNetworkSettingsArgs $) {
        this.forceencryption = $.forceencryption;
        this.tlsciphers = $.tlsciphers;
        this.tlsprotocols = $.tlsprotocols;
    }

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

    public static final class Builder {
        private K8sNetworkSettingsArgs $;

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

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

        /**
         * @param forceencryption If 1, then SQL Server forces all connections to be encrypted. By default, this option is 0
         * 
         * @return builder
         * 
         */
        public Builder forceencryption(@Nullable Output forceencryption) {
            $.forceencryption = forceencryption;
            return this;
        }

        /**
         * @param forceencryption If 1, then SQL Server forces all connections to be encrypted. By default, this option is 0
         * 
         * @return builder
         * 
         */
        public Builder forceencryption(Integer forceencryption) {
            return forceencryption(Output.of(forceencryption));
        }

        /**
         * @param tlsciphers Specifies which ciphers are allowed by SQL Server for TLS
         * 
         * @return builder
         * 
         */
        public Builder tlsciphers(@Nullable Output tlsciphers) {
            $.tlsciphers = tlsciphers;
            return this;
        }

        /**
         * @param tlsciphers Specifies which ciphers are allowed by SQL Server for TLS
         * 
         * @return builder
         * 
         */
        public Builder tlsciphers(String tlsciphers) {
            return tlsciphers(Output.of(tlsciphers));
        }

        /**
         * @param tlsprotocols A comma-separated list of which TLS protocols are allowed by SQL Server
         * 
         * @return builder
         * 
         */
        public Builder tlsprotocols(@Nullable Output tlsprotocols) {
            $.tlsprotocols = tlsprotocols;
            return this;
        }

        /**
         * @param tlsprotocols A comma-separated list of which TLS protocols are allowed by SQL Server
         * 
         * @return builder
         * 
         */
        public Builder tlsprotocols(String tlsprotocols) {
            return tlsprotocols(Output.of(tlsprotocols));
        }

        public K8sNetworkSettingsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy