GatewayHostnameConfigurationContractInner Class

public final class GatewayHostnameConfigurationContractInner
extends ProxyResource

Gateway hostname configuration details.

Constructor Summary

Constructor Description
GatewayHostnameConfigurationContractInner()

Creates an instance of GatewayHostnameConfigurationContractInner class.

Method Summary

Modifier and Type Method and Description
String certificateId()

Get the certificateId property: Identifier of Certificate entity that will be used for TLS connection establishment.

String hostname()

Get the hostname property: Hostname value.

Boolean http2Enabled()

Get the http2Enabled property: Specifies if HTTP/2.0 is supported.

Boolean negotiateClientCertificate()

Get the negotiateClientCertificate property: Determines whether gateway requests client certificate.

Boolean tls10Enabled()

Get the tls10Enabled property: Specifies if TLS 1.0 is supported.

Boolean tls11Enabled()

Get the tls11Enabled property: Specifies if TLS 1.1 is supported.

void validate()

Validates the instance.

GatewayHostnameConfigurationContractInner withCertificateId(String certificateId)

Set the certificateId property: Identifier of Certificate entity that will be used for TLS connection establishment.

GatewayHostnameConfigurationContractInner withHostname(String hostname)

Set the hostname property: Hostname value.

GatewayHostnameConfigurationContractInner withHttp2Enabled(Boolean http2Enabled)

Set the http2Enabled property: Specifies if HTTP/2.0 is supported.

GatewayHostnameConfigurationContractInner withNegotiateClientCertificate(Boolean negotiateClientCertificate)

Set the negotiateClientCertificate property: Determines whether gateway requests client certificate.

GatewayHostnameConfigurationContractInner withTls10Enabled(Boolean tls10Enabled)

Set the tls10Enabled property: Specifies if TLS 1.0 is supported.

GatewayHostnameConfigurationContractInner withTls11Enabled(Boolean tls11Enabled)

Set the tls11Enabled property: Specifies if TLS 1.1 is supported.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

GatewayHostnameConfigurationContractInner

public GatewayHostnameConfigurationContractInner()

Creates an instance of GatewayHostnameConfigurationContractInner class.

Method Details

certificateId

public String certificateId()

Get the certificateId property: Identifier of Certificate entity that will be used for TLS connection establishment.

Returns:

the certificateId value.

hostname

public String hostname()

Get the hostname property: Hostname value. Supports valid domain name, partial or full wildcard.

Returns:

the hostname value.

http2Enabled

public Boolean http2Enabled()

Get the http2Enabled property: Specifies if HTTP/2.0 is supported.

Returns:

the http2Enabled value.

negotiateClientCertificate

public Boolean negotiateClientCertificate()

Get the negotiateClientCertificate property: Determines whether gateway requests client certificate.

Returns:

the negotiateClientCertificate value.

tls10Enabled

public Boolean tls10Enabled()

Get the tls10Enabled property: Specifies if TLS 1.0 is supported.

Returns:

the tls10Enabled value.

tls11Enabled

public Boolean tls11Enabled()

Get the tls11Enabled property: Specifies if TLS 1.1 is supported.

Returns:

the tls11Enabled value.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

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.

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.

Applies to