Interface HealthMonitorUpdate
-
- All Superinterfaces:
Buildable<HealthMonitorUpdateBuilder>,ModelEntity,Serializable
- All Known Implementing Classes:
NeutronHealthMonitorUpdate
public interface HealthMonitorUpdate extends ModelEntity, Buildable<HealthMonitorUpdateBuilder>
An entity used to update a healthMonitor- Author:
- liujunpeng
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegergetDelay()Optional.StringgetExpectedCodes()Optional.StringgetHttpMethod()Optional.IntegergetMaxRetries()IntegergetTimeout()StringgetUrlPath()Optional.booleanisAdminStateUp()Optional.
-
-
-
Method Detail
-
getDelay
Integer getDelay()
Optional.- Returns:
- delay The time, in seconds, between sending probes to members
-
getUrlPath
String getUrlPath()
Optional.- Returns:
- urlPath The HTTP path of the request sent by the monitor to test the health of a member. Must be a string beginning with a forward slash (/).
-
getTimeout
Integer getTimeout()
- Returns:
- timeout The maximum number of seconds for a monitor to wait for a connection to be established before it times out. This value must be less than the delay value.
-
getMaxRetries
Integer getMaxRetries()
- Returns:
- maxRetries Number of allowed connection failures before changing the status of the member to INACTIVE. A valid value is from 1 to 10.
-
getHttpMethod
String getHttpMethod()
Optional.- Returns:
- httpMethod The HTTP method that the monitor uses for requests.
-
getExpectedCodes
String getExpectedCodes()
Optional.- Returns:
- expectedCodes Expected HTTP codes for a passing HTTP(S) monitor.
-
isAdminStateUp
boolean isAdminStateUp()
Optional.- Returns:
- adminstateup The administrative state of the health monitor, which is up (true) or down (false).
-
-