Class BackendPoolsSettings

java.lang.Object
com.azure.resourcemanager.frontdoor.models.BackendPoolsSettings

public final class BackendPoolsSettings extends Object
Settings that apply to all backend pools.
  • Constructor Details

    • BackendPoolsSettings

      public BackendPoolsSettings()
      Creates an instance of BackendPoolsSettings class.
  • Method Details

    • enforceCertificateNameCheck

      public EnforceCertificateNameCheckEnabledState 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

      public Integer 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

      public BackendPoolsSettings withSendRecvTimeoutSeconds(Integer sendRecvTimeoutSeconds)
      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.