public static class NeutronHealthMonitorV2.HealthMonitorV2Concretebuilder extends Object implements HealthMonitorV2Builder
Constructor and Description |
---|
HealthMonitorV2Concretebuilder() |
HealthMonitorV2Concretebuilder(NeutronHealthMonitorV2 m) |
Modifier and Type | Method and Description |
---|---|
HealthMonitorV2Builder |
adminStateUp(boolean adminStateUp)
Optional
|
HealthMonitorV2 |
build()
Creates and return the Model Entity M
|
HealthMonitorV2Builder |
delay(Integer delay) |
HealthMonitorV2Builder |
expectedCodes(String expectedCodes)
Optional
|
HealthMonitorV2Builder |
from(HealthMonitorV2 in)
Creates a Builder using the param M as the default values
|
HealthMonitorV2Builder |
httpMethod(String httpMethod)
Optional
|
HealthMonitorV2Builder |
maxRetries(Integer maxRetries) |
HealthMonitorV2Builder |
poolId(String poolId) |
HealthMonitorV2Builder |
tenantId(String tenantId) |
HealthMonitorV2Builder |
timeout(Integer timeout) |
HealthMonitorV2Builder |
type(HealthMonitorType type) |
HealthMonitorV2Builder |
urlPath(String urlPath)
Optional
|
public HealthMonitorV2Concretebuilder()
public HealthMonitorV2Concretebuilder(NeutronHealthMonitorV2 m)
public HealthMonitorV2 build()
Buildable.Builder
build
in interface Buildable.Builder<HealthMonitorV2Builder,HealthMonitorV2>
public HealthMonitorV2Builder from(HealthMonitorV2 in)
Buildable.Builder
from
in interface Buildable.Builder<HealthMonitorV2Builder,HealthMonitorV2>
public HealthMonitorV2Builder tenantId(String tenantId)
tenantId
in interface HealthMonitorV2Builder
tenantId
- Owner of the VIP. Only an administrative user can specify a
tenant ID other than its own.public HealthMonitorV2Builder type(HealthMonitorType type)
type
in interface HealthMonitorV2Builder
type
- The type of probe, which is TCP, HTTP, or HTTPS, that is
sent by the health monitor to verify the member state.public HealthMonitorV2Builder delay(Integer delay)
delay
in interface HealthMonitorV2Builder
delay
- The time, in seconds, between sending probes to members.public HealthMonitorV2Builder timeout(Integer timeout)
timeout
in interface HealthMonitorV2Builder
timeout
- Time in seconds to timeout each probe.public HealthMonitorV2Builder maxRetries(Integer maxRetries)
maxRetries
in interface HealthMonitorV2Builder
maxRetries
- Maximum consecutive health probe tries.public HealthMonitorV2Builder urlPath(String urlPath)
urlPath
in interface HealthMonitorV2Builder
urlPath
- Path portion of URI that will be probed if type is HTTP(S).public HealthMonitorV2Builder expectedCodes(String expectedCodes)
expectedCodes
in interface HealthMonitorV2Builder
expectedCodes
- Expected HTTP codes for a passing HTTP(S) monitor.public HealthMonitorV2Builder httpMethod(String httpMethod)
httpMethod
in interface HealthMonitorV2Builder
httpMethod
- GET/PUT/POSTpublic HealthMonitorV2Builder adminStateUp(boolean adminStateUp)
adminStateUp
in interface HealthMonitorV2Builder
adminStateUp
- The administrative state of the VIP. A valid value is true
(UP) or false (DOWN). Default is truepublic HealthMonitorV2Builder poolId(String poolId)
poolId
in interface HealthMonitorV2Builder
poolId
- Pool that this health monitor is assigned toCopyright © 2017. All rights reserved.