Class NeutronHealthMonitorUpdate
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronHealthMonitorUpdate
-
- All Implemented Interfaces:
Serializable,Buildable<HealthMonitorUpdateBuilder>,ModelEntity,HealthMonitorUpdate
public class NeutronHealthMonitorUpdate extends Object implements HealthMonitorUpdate
An entity used to update a healthmonitor- Author:
- liujunpeng
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronHealthMonitorUpdate.HealthMonitorUpdateConcreteBuilder-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description NeutronHealthMonitorUpdate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HealthMonitorUpdateBuilderbuilder()IntegergetDelay()Optional.StringgetExpectedCodes()Optional.StringgetHttpMethod()Optional.IntegergetMaxRetries()IntegergetTimeout()StringgetUrlPath()Optional.booleanisAdminStateUp()Optional.HealthMonitorUpdateBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static HealthMonitorUpdateBuilder builder()
-
toBuilder
public HealthMonitorUpdateBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<HealthMonitorUpdateBuilder>
-
getDelay
public Integer getDelay()
Optional.- Specified by:
getDelayin interfaceHealthMonitorUpdate- Returns:
- delay The time, in seconds, between sending probes to members
-
getUrlPath
public String getUrlPath()
Optional.- Specified by:
getUrlPathin interfaceHealthMonitorUpdate- 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
public Integer getTimeout()
- Specified by:
getTimeoutin interfaceHealthMonitorUpdate- 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
public Integer getMaxRetries()
- Specified by:
getMaxRetriesin interfaceHealthMonitorUpdate- 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
public String getHttpMethod()
Optional.- Specified by:
getHttpMethodin interfaceHealthMonitorUpdate- Returns:
- httpMethod The HTTP method that the monitor uses for requests.
-
getExpectedCodes
public String getExpectedCodes()
Optional.- Specified by:
getExpectedCodesin interfaceHealthMonitorUpdate- Returns:
- expectedCodes Expected HTTP codes for a passing HTTP(S) monitor.
-
isAdminStateUp
public boolean isAdminStateUp()
Optional.- Specified by:
isAdminStateUpin interfaceHealthMonitorUpdate- Returns:
- adminstateup The administrative state of the health monitor, which is up (true) or down (false).
-
-