Class BackendPoolsSettings
java.lang.Object
com.azure.resourcemanager.frontdoor.models.BackendPoolsSettings
Settings that apply to all backend pools.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the enforceCertificateNameCheck property: Whether to enforce certificate name check on HTTPS requests to all backend pools.Get the sendRecvTimeoutSeconds property: Send and receive timeout on forwarding request to the backend.void
validate()
Validates the instance.withEnforceCertificateNameCheck
(EnforceCertificateNameCheckEnabledState enforceCertificateNameCheck) Set the enforceCertificateNameCheck property: Whether to enforce certificate name check on HTTPS requests to all backend pools.withSendRecvTimeoutSeconds
(Integer sendRecvTimeoutSeconds) Set the sendRecvTimeoutSeconds property: Send and receive timeout on forwarding request to the backend.
-
Constructor Details
-
BackendPoolsSettings
public BackendPoolsSettings()Creates an instance of BackendPoolsSettings class.
-
-
Method Details
-
enforceCertificateNameCheck
Get the enforceCertificateNameCheck property: Whether to enforce certificate name check on HTTPS requests to all backend pools. No effect on non-HTTPS requests.- Returns:
- the enforceCertificateNameCheck value.
-
withEnforceCertificateNameCheck
public BackendPoolsSettings withEnforceCertificateNameCheck(EnforceCertificateNameCheckEnabledState enforceCertificateNameCheck) Set the enforceCertificateNameCheck property: Whether to enforce certificate name check on HTTPS requests to all backend pools. No effect on non-HTTPS requests.- Parameters:
enforceCertificateNameCheck
- the enforceCertificateNameCheck value to set.- Returns:
- the BackendPoolsSettings object itself.
-
sendRecvTimeoutSeconds
Get the sendRecvTimeoutSeconds property: Send and receive timeout on forwarding request to the backend. When timeout is reached, the request fails and returns.- Returns:
- the sendRecvTimeoutSeconds value.
-
withSendRecvTimeoutSeconds
Set the sendRecvTimeoutSeconds property: Send and receive timeout on forwarding request to the backend. When timeout is reached, the request fails and returns.- Parameters:
sendRecvTimeoutSeconds
- the sendRecvTimeoutSeconds value to set.- Returns:
- the BackendPoolsSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-