GatewayHostnameConfigurationContractInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. apimanagement. fluent. models. GatewayHostnameConfigurationContractInner
- com.
- com.
public final class GatewayHostnameConfigurationContractInner
extends ProxyResource
Gateway hostname configuration details.
Constructor Summary
Constructor | Description |
---|---|
GatewayHostnameConfigurationContractInner() |
Creates an instance of Gateway |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
certificateId()
Get the certificate |
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 negotiate |
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. |
Gateway |
withCertificateId(String certificateId)
Set the certificate |
Gateway |
withHostname(String hostname)
Set the hostname property: Hostname value. |
Gateway |
withHttp2Enabled(Boolean http2Enabled)
Set the http2Enabled property: Specifies if HTTP/2.0 is supported. |
Gateway |
withNegotiateClientCertificate(Boolean negotiateClientCertificate)
Set the negotiate |
Gateway |
withTls10Enabled(Boolean tls10Enabled)
Set the tls10Enabled property: Specifies if TLS 1.0 is supported. |
Gateway |
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:
hostname
public String hostname()
Get the hostname property: Hostname value. Supports valid domain name, partial or full wildcard.
Returns:
http2Enabled
public Boolean http2Enabled()
Get the http2Enabled property: Specifies if HTTP/2.0 is supported.
Returns:
negotiateClientCertificate
public Boolean negotiateClientCertificate()
Get the negotiateClientCertificate property: Determines whether gateway requests client certificate.
Returns:
tls10Enabled
public Boolean tls10Enabled()
Get the tls10Enabled property: Specifies if TLS 1.0 is supported.
Returns:
tls11Enabled
public Boolean tls11Enabled()
Get the tls11Enabled property: Specifies if TLS 1.1 is supported.
Returns:
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:
Returns:
withHostname
public GatewayHostnameConfigurationContractInner withHostname(String hostname)
Set the hostname property: Hostname value. Supports valid domain name, partial or full wildcard.
Parameters:
Returns:
withHttp2Enabled
public GatewayHostnameConfigurationContractInner withHttp2Enabled(Boolean http2Enabled)
Set the http2Enabled property: Specifies if HTTP/2.0 is supported.
Parameters:
Returns:
withNegotiateClientCertificate
public GatewayHostnameConfigurationContractInner withNegotiateClientCertificate(Boolean negotiateClientCertificate)
Set the negotiateClientCertificate property: Determines whether gateway requests client certificate.
Parameters:
Returns:
withTls10Enabled
public GatewayHostnameConfigurationContractInner withTls10Enabled(Boolean tls10Enabled)
Set the tls10Enabled property: Specifies if TLS 1.0 is supported.
Parameters:
Returns:
withTls11Enabled
public GatewayHostnameConfigurationContractInner withTls11Enabled(Boolean tls11Enabled)
Set the tls11Enabled property: Specifies if TLS 1.1 is supported.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for