Class TargetServerSSlInfoArgs.Builder

  • Enclosing class:
    TargetServerSSlInfoArgs

    public static final class TargetServerSSlInfoArgs.Builder
    extends java.lang.Object
    • Method Detail

      • ciphers

        public TargetServerSSlInfoArgs.Builder ciphers​(@Nullable
                                                       com.pulumi.core.Output<java.util.List<java.lang.String>> ciphers)
        Parameters:
        ciphers - The SSL/TLS cipher suites to be used. For programmable proxies, it must be one of the cipher suite names listed in: http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites. For configurable proxies, it must follow the configuration specified in: https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration. This setting has no effect for configurable proxies when negotiating TLS 1.3.
        Returns:
        builder
      • ciphers

        public TargetServerSSlInfoArgs.Builder ciphers​(java.util.List<java.lang.String> ciphers)
        Parameters:
        ciphers - The SSL/TLS cipher suites to be used. For programmable proxies, it must be one of the cipher suite names listed in: http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites. For configurable proxies, it must follow the configuration specified in: https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration. This setting has no effect for configurable proxies when negotiating TLS 1.3.
        Returns:
        builder
      • ciphers

        public TargetServerSSlInfoArgs.Builder ciphers​(java.lang.String... ciphers)
        Parameters:
        ciphers - The SSL/TLS cipher suites to be used. For programmable proxies, it must be one of the cipher suite names listed in: http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites. For configurable proxies, it must follow the configuration specified in: https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration. This setting has no effect for configurable proxies when negotiating TLS 1.3.
        Returns:
        builder
      • clientAuthEnabled

        public TargetServerSSlInfoArgs.Builder clientAuthEnabled​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Boolean> clientAuthEnabled)
        Parameters:
        clientAuthEnabled - Enables two-way TLS.
        Returns:
        builder
      • clientAuthEnabled

        public TargetServerSSlInfoArgs.Builder clientAuthEnabled​(java.lang.Boolean clientAuthEnabled)
        Parameters:
        clientAuthEnabled - Enables two-way TLS.
        Returns:
        builder
      • enabled

        public TargetServerSSlInfoArgs.Builder enabled​(com.pulumi.core.Output<java.lang.Boolean> enabled)
        Parameters:
        enabled - Enables TLS. If false, neither one-way nor two-way TLS will be enabled.
        Returns:
        builder
      • enabled

        public TargetServerSSlInfoArgs.Builder enabled​(java.lang.Boolean enabled)
        Parameters:
        enabled - Enables TLS. If false, neither one-way nor two-way TLS will be enabled.
        Returns:
        builder
      • ignoreValidationErrors

        public TargetServerSSlInfoArgs.Builder ignoreValidationErrors​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Boolean> ignoreValidationErrors)
        Parameters:
        ignoreValidationErrors - If true, Edge ignores TLS certificate errors. Valid when configuring TLS for target servers and target endpoints, and when configuring virtual hosts that use 2-way TLS. When used with a target endpoint/target server, if the backend system uses SNI and returns a cert with a subject Distinguished Name (DN) that does not match the hostname, there is no way to ignore the error and the connection fails.
        Returns:
        builder
      • ignoreValidationErrors

        public TargetServerSSlInfoArgs.Builder ignoreValidationErrors​(java.lang.Boolean ignoreValidationErrors)
        Parameters:
        ignoreValidationErrors - If true, Edge ignores TLS certificate errors. Valid when configuring TLS for target servers and target endpoints, and when configuring virtual hosts that use 2-way TLS. When used with a target endpoint/target server, if the backend system uses SNI and returns a cert with a subject Distinguished Name (DN) that does not match the hostname, there is no way to ignore the error and the connection fails.
        Returns:
        builder
      • keyAlias

        public TargetServerSSlInfoArgs.Builder keyAlias​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> keyAlias)
        Parameters:
        keyAlias - Required if clientAuthEnabled is true. The resource ID for the alias containing the private key and cert.
        Returns:
        builder
      • keyAlias

        public TargetServerSSlInfoArgs.Builder keyAlias​(java.lang.String keyAlias)
        Parameters:
        keyAlias - Required if clientAuthEnabled is true. The resource ID for the alias containing the private key and cert.
        Returns:
        builder
      • keyStore

        public TargetServerSSlInfoArgs.Builder keyStore​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> keyStore)
        Parameters:
        keyStore - Required if clientAuthEnabled is true. The resource ID of the keystore.
        Returns:
        builder
      • keyStore

        public TargetServerSSlInfoArgs.Builder keyStore​(java.lang.String keyStore)
        Parameters:
        keyStore - Required if clientAuthEnabled is true. The resource ID of the keystore.
        Returns:
        builder
      • protocols

        public TargetServerSSlInfoArgs.Builder protocols​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> protocols)
        Parameters:
        protocols - The TLS versioins to be used.
        Returns:
        builder
      • protocols

        public TargetServerSSlInfoArgs.Builder protocols​(java.util.List<java.lang.String> protocols)
        Parameters:
        protocols - The TLS versioins to be used.
        Returns:
        builder
      • protocols

        public TargetServerSSlInfoArgs.Builder protocols​(java.lang.String... protocols)
        Parameters:
        protocols - The TLS versioins to be used.
        Returns:
        builder
      • trustStore

        public TargetServerSSlInfoArgs.Builder trustStore​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> trustStore)
        Parameters:
        trustStore - The resource ID of the truststore.
        Returns:
        builder
      • trustStore

        public TargetServerSSlInfoArgs.Builder trustStore​(java.lang.String trustStore)
        Parameters:
        trustStore - The resource ID of the truststore.
        Returns:
        builder