Class HealthMonitor.Builder
java.lang.Object
org.jclouds.rackspace.cloudloadbalancers.v1.domain.HealthMonitor.Builder
- Enclosing class:
HealthMonitor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattemptsBeforeDeactivation
(int attemptsBeforeDeactivation) Required.Required (if using HTTP/S).build()
delay
(int delay) Required.from
(HealthMonitor in) hostHeader
(String hostHeader) Optional (if using HTTP/S).Required (if using HTTP/S).statusRegex
(String statusRegex) Required (if using HTTP/S).timeout
(int timeout) Required.type
(HealthMonitor.Type type) Type of the health monitor.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Type of the health monitor. Must be specified as CONNECT to monitor connections. -
delay
Required. The minimum number of seconds to wait before executing the health monitor. Must be a number between 1 and 3600. -
timeout
Required. Maximum number of seconds to wait for a connection to be established before timing out. Must be a number between 1 and 300. -
attemptsBeforeDeactivation
Required. Number of permissible monitor failures before removing a node from rotation. Must be a number between 1 and 10. -
bodyRegex
Required (if using HTTP/S). A regular expression that will be used to evaluate the contents of the body of the response. -
statusRegex
Required (if using HTTP/S). A regular expression that will be used to evaluate the HTTP status code returned in the response. -
path
Required (if using HTTP/S). The HTTP path that will be used in the sample request. -
hostHeader
Optional (if using HTTP/S). The name of a host for which the health monitors will check. -
build
-
from
-