Class OctaviaHealthMonitorV2Update
- java.lang.Object
-
- org.openstack4j.openstack.octavia.domain.OctaviaHealthMonitorV2Update
-
- All Implemented Interfaces:
Serializable,Buildable<HealthMonitorV2UpdateBuilder>,ModelEntity,HealthMonitorV2Update
public class OctaviaHealthMonitorV2Update extends Object implements HealthMonitorV2Update
Entity used to update lbaas v2 heathmonitor- Author:
- wei
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOctaviaHealthMonitorV2Update.HealthMonitorV2UpdateConcreteBuilder-
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 OctaviaHealthMonitorV2Update()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HealthMonitorV2UpdateBuilderbuilder()IntegergetDelay()Optional.StringgetExpectedCodes()Optional.StringgetHttpMethod()Optional.IntegergetMaxRetries()IntegergetMaxRetriesDown()IntegergetTimeout()StringgetUrlPath()Optional.booleanisAdminStateUp()Optional.HealthMonitorV2UpdateBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static HealthMonitorV2UpdateBuilder builder()
-
getDelay
public Integer getDelay()
Optional.- Specified by:
getDelayin interfaceHealthMonitorV2Update- Returns:
- delay The time, in seconds, between sending probes to members
-
getUrlPath
public String getUrlPath()
Optional.- Specified by:
getUrlPathin interfaceHealthMonitorV2Update- 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 interfaceHealthMonitorV2Update- 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 interfaceHealthMonitorV2Update- Returns:
- maxRetries Number of allowed connection failures before changing the status of the member to INACTIVE. A valid value is from 1 to 10.
-
getMaxRetriesDown
public Integer getMaxRetriesDown()
- Specified by:
getMaxRetriesDownin interfaceHealthMonitorV2Update- Returns:
- maxRetriesDown 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 interfaceHealthMonitorV2Update- Returns:
- httpMethod The HTTP method that the monitor uses for requests.
-
getExpectedCodes
public String getExpectedCodes()
Optional.- Specified by:
getExpectedCodesin interfaceHealthMonitorV2Update- Returns:
- expectedCodes Expected HTTP codes for a passing HTTP(S) monitor.
-
isAdminStateUp
public boolean isAdminStateUp()
Optional.- Specified by:
isAdminStateUpin interfaceHealthMonitorV2Update- Returns:
- adminstateup The administrative state of the health monitor, which is up (true) or down (false).
-
toBuilder
public HealthMonitorV2UpdateBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<HealthMonitorV2UpdateBuilder>
-
-