BackendTlsProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.apimanagement.models.BackendTlsProperties

public final class BackendTlsProperties

Properties controlling TLS Certificate Validation.

Constructor Summary

Constructor Description
BackendTlsProperties()

Creates an instance of BackendTlsProperties class.

Method Summary

Modifier and Type Method and Description
void validate()

Validates the instance.

Boolean validateCertificateChain()

Get the validateCertificateChain property: Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for this backend host.

Boolean validateCertificateName()

Get the validateCertificateName property: Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for this backend host.

BackendTlsProperties withValidateCertificateChain(Boolean validateCertificateChain)

Set the validateCertificateChain property: Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for this backend host.

BackendTlsProperties withValidateCertificateName(Boolean validateCertificateName)

Set the validateCertificateName property: Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for this backend host.

Methods inherited from java.lang.Object

Constructor Details

BackendTlsProperties

public BackendTlsProperties()

Creates an instance of BackendTlsProperties class.

Method Details

validate

public void validate()

Validates the instance.

validateCertificateChain

public Boolean validateCertificateChain()

Get the validateCertificateChain property: Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for this backend host.

Returns:

the validateCertificateChain value.

validateCertificateName

public Boolean validateCertificateName()

Get the validateCertificateName property: Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for this backend host.

Returns:

the validateCertificateName value.

withValidateCertificateChain

public BackendTlsProperties withValidateCertificateChain(Boolean validateCertificateChain)

Set the validateCertificateChain property: Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for this backend host.

Parameters:

validateCertificateChain - the validateCertificateChain value to set.

Returns:

the BackendTlsProperties object itself.

withValidateCertificateName

public BackendTlsProperties withValidateCertificateName(Boolean validateCertificateName)

Set the validateCertificateName property: Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for this backend host.

Parameters:

validateCertificateName - the validateCertificateName value to set.

Returns:

the BackendTlsProperties object itself.

Applies to