public static class NeutronHealthMonitorUpdate.HealthMonitorUpdateConcreteBuilder extends Object implements HealthMonitorUpdateBuilder
Constructor and Description |
---|
HealthMonitorUpdateConcreteBuilder() |
HealthMonitorUpdateConcreteBuilder(NeutronHealthMonitorUpdate m) |
Modifier and Type | Method and Description |
---|---|
HealthMonitorUpdateBuilder |
adminStateUp(boolean adminStateUp) |
HealthMonitorUpdate |
build()
Creates and return the Model Entity M
|
HealthMonitorUpdateBuilder |
delay(Integer delay) |
HealthMonitorUpdateBuilder |
expectedCodes(String expectedCodes) |
HealthMonitorUpdateBuilder |
from(HealthMonitorUpdate in)
Creates a Builder using the param M as the default values
|
HealthMonitorUpdateBuilder |
httpMethod(String httpMethod) |
HealthMonitorUpdateBuilder |
maxRetries(Integer maxRetries) |
HealthMonitorUpdateBuilder |
timeout(Integer timeout) |
HealthMonitorUpdateBuilder |
urlPath(String urlPath) |
public HealthMonitorUpdateConcreteBuilder()
public HealthMonitorUpdateConcreteBuilder(NeutronHealthMonitorUpdate m)
public HealthMonitorUpdate build()
Buildable.Builder
build
in interface Buildable.Builder<HealthMonitorUpdateBuilder,HealthMonitorUpdate>
public HealthMonitorUpdateBuilder from(HealthMonitorUpdate in)
Buildable.Builder
from
in interface Buildable.Builder<HealthMonitorUpdateBuilder,HealthMonitorUpdate>
public HealthMonitorUpdateBuilder delay(Integer delay)
delay
in interface HealthMonitorUpdateBuilder
public HealthMonitorUpdateBuilder urlPath(String urlPath)
urlPath
in interface HealthMonitorUpdateBuilder
urlPath
- Path portion of URI that will be probed if type is HTTP(S).public HealthMonitorUpdateBuilder expectedCodes(String expectedCodes)
expectedCodes
in interface HealthMonitorUpdateBuilder
expectedCodes
- Expected HTTP codes for a passing HTTP(S) monitor.public HealthMonitorUpdateBuilder httpMethod(String httpMethod)
httpMethod
in interface HealthMonitorUpdateBuilder
httpMethod
- GET/PUT/POSTpublic HealthMonitorUpdateBuilder maxRetries(Integer maxRetries)
maxRetries
in interface HealthMonitorUpdateBuilder
maxRetries
- Maximum consecutive health probe tries.public HealthMonitorUpdateBuilder adminStateUp(boolean adminStateUp)
adminStateUp
in interface HealthMonitorUpdateBuilder
adminStateUp
- The administrative state of the VIP. A valid value is true
(UP) or false (DOWN).public HealthMonitorUpdateBuilder timeout(Integer timeout)
timeout
in interface HealthMonitorUpdateBuilder
timeout
- Time in seconds to timeout each probe.Copyright © 2017. All rights reserved.