Class BackendTlsProperties
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.BackendTlsProperties
-
public final class BackendTlsProperties extends Object
Properties controlling TLS Certificate Validation.
-
-
Constructor Summary
Constructors Constructor Description BackendTlsProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
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.
-
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.
-
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.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-