Class UpdateHealthCheckerDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.loadbalancer.model.UpdateHealthCheckerDetails.Builder
 
- 
- Enclosing class:
- UpdateHealthCheckerDetails
 
 public static class UpdateHealthCheckerDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateHealthCheckerDetailsbuild()UpdateHealthCheckerDetails.Buildercopy(UpdateHealthCheckerDetails model)UpdateHealthCheckerDetails.BuilderintervalInMillis(Integer intervalInMillis)The interval between health checks, in milliseconds.UpdateHealthCheckerDetails.BuilderisForcePlainText(Boolean isForcePlainText)Specifies if health checks should always be done using plain text instead of depending on whether or not the associated backend set is using SSL.UpdateHealthCheckerDetails.Builderport(Integer port)The backend server port against which to run the health check.UpdateHealthCheckerDetails.Builderprotocol(String protocol)The protocol the health check must use; either HTTP or TCP.UpdateHealthCheckerDetails.BuilderresponseBodyRegex(String responseBodyRegex)A regular expression for parsing the response body from the backend server.UpdateHealthCheckerDetails.Builderretries(Integer retries)The number of retries to attempt before a backend server is considered “unhealthy”.UpdateHealthCheckerDetails.BuilderreturnCode(Integer returnCode)The status code a healthy backend server should return.UpdateHealthCheckerDetails.BuildertimeoutInMillis(Integer timeoutInMillis)The maximum time, in milliseconds, to wait for a reply to a health check.UpdateHealthCheckerDetails.BuilderurlPath(String urlPath)The path against which to run the health check.
 
- 
- 
- 
Method Detail- 
protocolpublic UpdateHealthCheckerDetails.Builder protocol(String protocol) The protocol the health check must use; either HTTP or TCP.Example: HTTP - Parameters:
- protocol- the value to set
- Returns:
- this builder
 
 - 
urlPathpublic UpdateHealthCheckerDetails.Builder urlPath(String urlPath) The path against which to run the health check.Example: /healthcheck - Parameters:
- urlPath- the value to set
- Returns:
- this builder
 
 - 
portpublic UpdateHealthCheckerDetails.Builder port(Integer port) The backend server port against which to run the health check.Example: 8080 - Parameters:
- port- the value to set
- Returns:
- this builder
 
 - 
returnCodepublic UpdateHealthCheckerDetails.Builder returnCode(Integer returnCode) The status code a healthy backend server should return.Example: 200 - Parameters:
- returnCode- the value to set
- Returns:
- this builder
 
 - 
retriespublic UpdateHealthCheckerDetails.Builder retries(Integer retries) The number of retries to attempt before a backend server is considered “unhealthy”.This number also applies when recovering a server to the “healthy” state. Example: 3 - Parameters:
- retries- the value to set
- Returns:
- this builder
 
 - 
timeoutInMillispublic UpdateHealthCheckerDetails.Builder timeoutInMillis(Integer timeoutInMillis) The maximum time, in milliseconds, to wait for a reply to a health check.A health check is successful only if a reply returns within this timeout period. Example: 3000 - Parameters:
- timeoutInMillis- the value to set
- Returns:
- this builder
 
 - 
intervalInMillispublic UpdateHealthCheckerDetails.Builder intervalInMillis(Integer intervalInMillis) The interval between health checks, in milliseconds.Example: 10000 - Parameters:
- intervalInMillis- the value to set
- Returns:
- this builder
 
 - 
responseBodyRegexpublic UpdateHealthCheckerDetails.Builder responseBodyRegex(String responseBodyRegex) A regular expression for parsing the response body from the backend server.Example: ^((?!false).|\\s)*$ - Parameters:
- responseBodyRegex- the value to set
- Returns:
- this builder
 
 - 
isForcePlainTextpublic UpdateHealthCheckerDetails.Builder isForcePlainText(Boolean isForcePlainText) Specifies if health checks should always be done using plain text instead of depending on whether or not the associated backend set is using SSL.If "true", health checks will be done using plain text even if the associated backend set is configured to use SSL. If "false", health checks will be done using SSL encryption if the associated backend set is configured to use SSL. If the backend set is not so configured the health checks will be done using plain text. Example: true - Parameters:
- isForcePlainText- the value to set
- Returns:
- this builder
 
 - 
buildpublic UpdateHealthCheckerDetails build() 
 - 
copypublic UpdateHealthCheckerDetails.Builder copy(UpdateHealthCheckerDetails model) 
 
- 
 
-