Class GatewayHostnameConfigurationContractInner


  • public final class GatewayHostnameConfigurationContractInner
    extends com.azure.core.management.ProxyResource
    Gateway hostname configuration details.
    • Constructor Detail

      • GatewayHostnameConfigurationContractInner

        public GatewayHostnameConfigurationContractInner()
    • Method Detail

      • hostname

        public String hostname()
        Get the hostname property: Hostname value. Supports valid domain name, partial or full wildcard.
        Returns:
        the hostname value.
      • withHostname

        public GatewayHostnameConfigurationContractInner withHostname​(String hostname)
        Set the hostname property: Hostname value. Supports valid domain name, partial or full wildcard.
        Parameters:
        hostname - the hostname value to set.
        Returns:
        the GatewayHostnameConfigurationContractInner object itself.
      • certificateId

        public String certificateId()
        Get the certificateId property: Identifier of Certificate entity that will be used for TLS connection establishment.
        Returns:
        the certificateId value.
      • withCertificateId

        public GatewayHostnameConfigurationContractInner withCertificateId​(String certificateId)
        Set the certificateId property: Identifier of Certificate entity that will be used for TLS connection establishment.
        Parameters:
        certificateId - the certificateId value to set.
        Returns:
        the GatewayHostnameConfigurationContractInner object itself.
      • negotiateClientCertificate

        public Boolean negotiateClientCertificate()
        Get the negotiateClientCertificate property: Determines whether gateway requests client certificate.
        Returns:
        the negotiateClientCertificate value.
      • withNegotiateClientCertificate

        public GatewayHostnameConfigurationContractInner withNegotiateClientCertificate​(Boolean negotiateClientCertificate)
        Set the negotiateClientCertificate property: Determines whether gateway requests client certificate.
        Parameters:
        negotiateClientCertificate - the negotiateClientCertificate value to set.
        Returns:
        the GatewayHostnameConfigurationContractInner object itself.
      • tls10Enabled

        public Boolean tls10Enabled()
        Get the tls10Enabled property: Specifies if TLS 1.0 is supported.
        Returns:
        the tls10Enabled value.
      • withTls10Enabled

        public GatewayHostnameConfigurationContractInner withTls10Enabled​(Boolean tls10Enabled)
        Set the tls10Enabled property: Specifies if TLS 1.0 is supported.
        Parameters:
        tls10Enabled - the tls10Enabled value to set.
        Returns:
        the GatewayHostnameConfigurationContractInner object itself.
      • tls11Enabled

        public Boolean tls11Enabled()
        Get the tls11Enabled property: Specifies if TLS 1.1 is supported.
        Returns:
        the tls11Enabled value.
      • withTls11Enabled

        public GatewayHostnameConfigurationContractInner withTls11Enabled​(Boolean tls11Enabled)
        Set the tls11Enabled property: Specifies if TLS 1.1 is supported.
        Parameters:
        tls11Enabled - the tls11Enabled value to set.
        Returns:
        the GatewayHostnameConfigurationContractInner object itself.
      • http2Enabled

        public Boolean http2Enabled()
        Get the http2Enabled property: Specifies if HTTP/2.0 is supported.
        Returns:
        the http2Enabled value.
      • withHttp2Enabled

        public GatewayHostnameConfigurationContractInner withHttp2Enabled​(Boolean http2Enabled)
        Set the http2Enabled property: Specifies if HTTP/2.0 is supported.
        Parameters:
        http2Enabled - the http2Enabled value to set.
        Returns:
        the GatewayHostnameConfigurationContractInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.