public static final class ALBHealthMonitorHttp.Builder
extends java.lang.Object
ALBHealthMonitorHttp.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ALBHealthMonitorHttp. |
| Modifier and Type | Method and Description |
|---|---|
ALBHealthMonitorHttp |
build() |
ALBHealthMonitorHttp.Builder |
setAuthType(java.lang.String authType)
Possible values are:
ALBHealthMonitorHttp.AUTH_TYPE_BASIC
ALBHealthMonitorHttp.AUTH_TYPE_NTLM
Type of the authentication method. |
ALBHealthMonitorHttp.Builder |
setExactHttpRequest(java.lang.Boolean exactHttpRequest)
Use the exact http_request string as specified by user, without any automatic
insert of headers like Host header.
|
ALBHealthMonitorHttp.Builder |
setHttpRequest(java.lang.String httpRequest)
Send an HTTP request to the server.
|
ALBHealthMonitorHttp.Builder |
setHttpRequestBody(java.lang.String httpRequestBody)
HTTP request body.
|
ALBHealthMonitorHttp.Builder |
setHttpResponse(java.lang.String httpResponse)
Match for a keyword in the first 2Kb of the server header and body response.
|
ALBHealthMonitorHttp.Builder |
setHttpResponseCode(java.util.List<java.lang.String> httpResponseCode)
Possible values are:
ALBHealthMonitorHttp.HTTP_RESPONSE_CODE_ANY
ALBHealthMonitorHttp.HTTP_RESPONSE_CODE_1XX
ALBHealthMonitorHttp.HTTP_RESPONSE_CODE_2XX
ALBHealthMonitorHttp.HTTP_RESPONSE_CODE_3XX
ALBHealthMonitorHttp.HTTP_RESPONSE_CODE_4XX
ALBHealthMonitorHttp.HTTP_RESPONSE_CODE_5XX
List of HTTP response codes to match as successful. |
ALBHealthMonitorHttp.Builder |
setMaintenanceCode(java.util.List<java.lang.Long> maintenanceCode)
Match or look for this HTTP response code indicating server maintenance.
|
ALBHealthMonitorHttp.Builder |
setMaintenanceResponse(java.lang.String maintenanceResponse)
Match or look for this keyword in the first 2KB of server header and body
response indicating server maintenance.
|
ALBHealthMonitorHttp.Builder |
setResponseSize(java.lang.Long responseSize)
Expected http/https response page size.
|
ALBHealthMonitorHttp.Builder |
setSslAttributes(ALBHealthMonitorSSLAttributes sslAttributes) |
public Builder()
ALBHealthMonitorHttp.public ALBHealthMonitorHttp.Builder setAuthType(java.lang.String authType)
authType - New value for the property.public ALBHealthMonitorHttp.Builder setExactHttpRequest(java.lang.Boolean exactHttpRequest)
exactHttpRequest - New value for the property.public ALBHealthMonitorHttp.Builder setHttpRequest(java.lang.String httpRequest)
httpRequest - New value for the property.public ALBHealthMonitorHttp.Builder setHttpRequestBody(java.lang.String httpRequestBody)
httpRequestBody - New value for the property.public ALBHealthMonitorHttp.Builder setHttpResponse(java.lang.String httpResponse)
httpResponse - New value for the property.public ALBHealthMonitorHttp.Builder setHttpResponseCode(java.util.List<java.lang.String> httpResponseCode)
httpResponseCode - New value for the property.public ALBHealthMonitorHttp.Builder setMaintenanceCode(java.util.List<java.lang.Long> maintenanceCode)
maintenanceCode - New value for the property.public ALBHealthMonitorHttp.Builder setMaintenanceResponse(java.lang.String maintenanceResponse)
maintenanceResponse - New value for the property.public ALBHealthMonitorHttp.Builder setResponseSize(java.lang.Long responseSize)
responseSize - New value for the property.public ALBHealthMonitorHttp.Builder setSslAttributes(ALBHealthMonitorSSLAttributes sslAttributes)
sslAttributes - New value for the property.public ALBHealthMonitorHttp build()