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 class
NeutronHealthMonitorUpdate.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 HealthMonitorUpdateBuilder
builder()
Integer
getDelay()
Optional.String
getExpectedCodes()
Optional.String
getHttpMethod()
Optional.Integer
getMaxRetries()
Integer
getTimeout()
String
getUrlPath()
Optional.boolean
isAdminStateUp()
Optional.HealthMonitorUpdateBuilder
toBuilder()
String
toString()
-
-
-
Method Detail
-
builder
public static HealthMonitorUpdateBuilder builder()
-
toBuilder
public HealthMonitorUpdateBuilder toBuilder()
- Specified by:
toBuilder
in interfaceBuildable<HealthMonitorUpdateBuilder>
-
getDelay
public Integer getDelay()
Optional.- Specified by:
getDelay
in interfaceHealthMonitorUpdate
- Returns:
- delay The time, in seconds, between sending probes to members
-
getUrlPath
public String getUrlPath()
Optional.- Specified by:
getUrlPath
in 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:
getTimeout
in 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:
getMaxRetries
in 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:
getHttpMethod
in interfaceHealthMonitorUpdate
- Returns:
- httpMethod The HTTP method that the monitor uses for requests.
-
getExpectedCodes
public String getExpectedCodes()
Optional.- Specified by:
getExpectedCodes
in interfaceHealthMonitorUpdate
- Returns:
- expectedCodes Expected HTTP codes for a passing HTTP(S) monitor.
-
isAdminStateUp
public boolean isAdminStateUp()
Optional.- Specified by:
isAdminStateUp
in interfaceHealthMonitorUpdate
- Returns:
- adminstateup The administrative state of the health monitor, which is up (true) or down (false).
-
-