Interface HealthMonitorBuilder
-
- All Superinterfaces:
Buildable.Builder<HealthMonitorBuilder,HealthMonitor>
- All Known Implementing Classes:
NeutronHealthMonitor.HealthMonitorConcretebuilder
public interface HealthMonitorBuilder extends Buildable.Builder<HealthMonitorBuilder,HealthMonitor>
A builder to create a healthMonitor- Author:
- liujunpeng
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HealthMonitorBuilder
adminStateUp(boolean adminStateUp)
HealthMonitorBuilder
delay(Integer delay)
HealthMonitorBuilder
expectedCodes(String expectedCodes)
HealthMonitorBuilder
httpMethod(String httpMethod)
HealthMonitorBuilder
maxRetries(Integer maxRetries)
HealthMonitorBuilder
tenantId(String tenantId)
HealthMonitorBuilder
timeout(Integer timeout)
HealthMonitorBuilder
type(HealthMonitorType type)
HealthMonitorBuilder
urlPath(String urlPath)
-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
tenantId
HealthMonitorBuilder tenantId(String tenantId)
- Parameters:
tenantId
- Owner of the VIP. Only an administrative user can specify a tenant ID other than its own.- Returns:
- HealthMonitorBuilder
-
type
HealthMonitorBuilder type(HealthMonitorType type)
- Parameters:
type
- The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the load balancer to verify the member state.- Returns:
- HealthMonitorBuilder
-
delay
HealthMonitorBuilder delay(Integer delay)
- Parameters:
delay
- The time, in seconds, between sending probes to members.- Returns:
- HealthMonitorBuilder
-
timeout
HealthMonitorBuilder timeout(Integer timeout)
- Parameters:
timeout
- Time in seconds to timeout each probe.- Returns:
- HealthMonitorBuilder
-
maxRetries
HealthMonitorBuilder maxRetries(Integer maxRetries)
- Parameters:
maxRetries
- Maximum consecutive health probe tries.- Returns:
- HealthMonitorBuilder
-
urlPath
HealthMonitorBuilder urlPath(String urlPath)
- Parameters:
urlPath
- Path portion of URI that will be probed if type is HTTP(S).- Returns:
- HealthMonitorBuilder
-
expectedCodes
HealthMonitorBuilder expectedCodes(String expectedCodes)
- Parameters:
expectedCodes
- Expected HTTP codes for a passing HTTP(S) monitor.- Returns:
- HealthMonitorBuilder
-
httpMethod
HealthMonitorBuilder httpMethod(String httpMethod)
- Parameters:
httpMethod
- GET/PUT/POST- Returns:
- HealthMonitorBuilder
-
adminStateUp
HealthMonitorBuilder adminStateUp(boolean adminStateUp)
- Parameters:
adminStateUp
- The administrative state of the VIP. A valid value is true (UP) or false (DOWN).- Returns:
- HealthMonitorBuilder
-
-