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

com.pulumi.azurenative.azurearcdata.outputs.K8sNetworkSettingsResponse 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.outputs;

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

@CustomType
public final class K8sNetworkSettingsResponse {
    /**
     * @return If 1, then SQL Server forces all connections to be encrypted. By default, this option is 0
     * 
     */
    private @Nullable Integer forceencryption;
    /**
     * @return Specifies which ciphers are allowed by SQL Server for TLS
     * 
     */
    private @Nullable String tlsciphers;
    /**
     * @return A comma-separated list of which TLS protocols are allowed by SQL Server
     * 
     */
    private @Nullable String tlsprotocols;

    private K8sNetworkSettingsResponse() {}
    /**
     * @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);
    }
    /**
     * @return Specifies which ciphers are allowed by SQL Server for TLS
     * 
     */
    public Optional tlsciphers() {
        return Optional.ofNullable(this.tlsciphers);
    }
    /**
     * @return A comma-separated list of which TLS protocols are allowed by SQL Server
     * 
     */
    public Optional tlsprotocols() {
        return Optional.ofNullable(this.tlsprotocols);
    }

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

    public static Builder builder(K8sNetworkSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer forceencryption;
        private @Nullable String tlsciphers;
        private @Nullable String tlsprotocols;
        public Builder() {}
        public Builder(K8sNetworkSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.forceencryption = defaults.forceencryption;
    	      this.tlsciphers = defaults.tlsciphers;
    	      this.tlsprotocols = defaults.tlsprotocols;
        }

        @CustomType.Setter
        public Builder forceencryption(@Nullable Integer forceencryption) {

            this.forceencryption = forceencryption;
            return this;
        }
        @CustomType.Setter
        public Builder tlsciphers(@Nullable String tlsciphers) {

            this.tlsciphers = tlsciphers;
            return this;
        }
        @CustomType.Setter
        public Builder tlsprotocols(@Nullable String tlsprotocols) {

            this.tlsprotocols = tlsprotocols;
            return this;
        }
        public K8sNetworkSettingsResponse build() {
            final var _resultValue = new K8sNetworkSettingsResponse();
            _resultValue.forceencryption = forceencryption;
            _resultValue.tlsciphers = tlsciphers;
            _resultValue.tlsprotocols = tlsprotocols;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy