public final class ALBHealthMonitorHttp
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
| Modifier and Type | Class and Description |
|---|---|
static class |
ALBHealthMonitorHttp.Builder
Builder class for
ALBHealthMonitorHttp. |
| Modifier and Type | Field and Description |
|---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
AUTH_TYPE_BASIC |
static java.lang.String |
AUTH_TYPE_NTLM |
static java.lang.String |
HTTP_RESPONSE_CODE_1XX |
static java.lang.String |
HTTP_RESPONSE_CODE_2XX |
static java.lang.String |
HTTP_RESPONSE_CODE_3XX |
static java.lang.String |
HTTP_RESPONSE_CODE_4XX |
static java.lang.String |
HTTP_RESPONSE_CODE_5XX |
static java.lang.String |
HTTP_RESPONSE_CODE_ANY |
| Modifier | Constructor and Description |
|---|---|
|
ALBHealthMonitorHttp()
Default constructor.
|
protected |
ALBHealthMonitorHttp(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static ALBHealthMonitorHttp |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static ALBHealthMonitorHttp |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAuthType()
Possible values are:
AUTH_TYPE_BASIC
AUTH_TYPE_NTLM
Type of the authentication method. |
java.lang.Boolean |
getExactHttpRequest()
Use the exact http_request string as specified by user, without any automatic
insert of headers like Host header.
|
java.lang.String |
getHttpRequest()
Send an HTTP request to the server.
|
java.lang.String |
getHttpRequestBody()
HTTP request body.
|
java.lang.String |
getHttpResponse()
Match for a keyword in the first 2Kb of the server header and body response.
|
java.util.List<java.lang.String> |
getHttpResponseCode()
Possible values are:
HTTP_RESPONSE_CODE_ANY
HTTP_RESPONSE_CODE_1XX
HTTP_RESPONSE_CODE_2XX
HTTP_RESPONSE_CODE_3XX
HTTP_RESPONSE_CODE_4XX
HTTP_RESPONSE_CODE_5XX
List of HTTP response codes to match as successful. |
java.util.List<java.lang.Long> |
getMaintenanceCode()
Match or look for this HTTP response code indicating server maintenance.
|
java.lang.String |
getMaintenanceResponse()
Match or look for this keyword in the first 2KB of server header and body
response indicating server maintenance.
|
java.lang.Long |
getResponseSize()
Expected http/https response page size.
|
ALBHealthMonitorSSLAttributes |
getSslAttributes() |
int |
hashCode() |
void |
setAuthType(java.lang.String authType)
Possible values are:
AUTH_TYPE_BASIC
AUTH_TYPE_NTLM
Type of the authentication method. |
void |
setExactHttpRequest(java.lang.Boolean exactHttpRequest)
Use the exact http_request string as specified by user, without any automatic
insert of headers like Host header.
|
void |
setHttpRequest(java.lang.String httpRequest)
Send an HTTP request to the server.
|
void |
setHttpRequestBody(java.lang.String httpRequestBody)
HTTP request body.
|
void |
setHttpResponse(java.lang.String httpResponse)
Match for a keyword in the first 2Kb of the server header and body response.
|
void |
setHttpResponseCode(java.util.List<java.lang.String> httpResponseCode)
Possible values are:
HTTP_RESPONSE_CODE_ANY
HTTP_RESPONSE_CODE_1XX
HTTP_RESPONSE_CODE_2XX
HTTP_RESPONSE_CODE_3XX
HTTP_RESPONSE_CODE_4XX
HTTP_RESPONSE_CODE_5XX
List of HTTP response codes to match as successful. |
void |
setMaintenanceCode(java.util.List<java.lang.Long> maintenanceCode)
Match or look for this HTTP response code indicating server maintenance.
|
void |
setMaintenanceResponse(java.lang.String maintenanceResponse)
Match or look for this keyword in the first 2KB of server header and body
response indicating server maintenance.
|
void |
setResponseSize(java.lang.Long responseSize)
Expected http/https response page size.
|
void |
setSslAttributes(ALBHealthMonitorSSLAttributes sslAttributes) |
java.lang.String |
toString() |
public static final java.lang.String AUTH_TYPE_BASIC
public static final java.lang.String AUTH_TYPE_NTLM
public static final java.lang.String HTTP_RESPONSE_CODE_ANY
public static final java.lang.String HTTP_RESPONSE_CODE_1XX
public static final java.lang.String HTTP_RESPONSE_CODE_2XX
public static final java.lang.String HTTP_RESPONSE_CODE_3XX
public static final java.lang.String HTTP_RESPONSE_CODE_4XX
public static final java.lang.String HTTP_RESPONSE_CODE_5XX
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public ALBHealthMonitorHttp()
protected ALBHealthMonitorHttp(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getAuthType()
public void setAuthType(java.lang.String authType)
authType - New value for the property.public java.lang.Boolean getExactHttpRequest()
public void setExactHttpRequest(java.lang.Boolean exactHttpRequest)
exactHttpRequest - New value for the property.public java.lang.String getHttpRequest()
public void setHttpRequest(java.lang.String httpRequest)
httpRequest - New value for the property.public java.lang.String getHttpRequestBody()
public void setHttpRequestBody(java.lang.String httpRequestBody)
httpRequestBody - New value for the property.public java.lang.String getHttpResponse()
public void setHttpResponse(java.lang.String httpResponse)
httpResponse - New value for the property.public java.util.List<java.lang.String> getHttpResponseCode()
public void setHttpResponseCode(java.util.List<java.lang.String> httpResponseCode)
httpResponseCode - New value for the property.public java.util.List<java.lang.Long> getMaintenanceCode()
public void setMaintenanceCode(java.util.List<java.lang.Long> maintenanceCode)
maintenanceCode - New value for the property.public java.lang.String getMaintenanceResponse()
public void setMaintenanceResponse(java.lang.String maintenanceResponse)
maintenanceResponse - New value for the property.public java.lang.Long getResponseSize()
public void setResponseSize(java.lang.Long responseSize)
responseSize - New value for the property.public ALBHealthMonitorSSLAttributes getSslAttributes()
public void setSslAttributes(ALBHealthMonitorSSLAttributes sslAttributes)
sslAttributes - New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue in interface com.vmware.vapi.bindings.Structureprotected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate in interface com.vmware.vapi.bindings.StaticStructurepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in interface com.vmware.vapi.bindings.StaticStructuretoString in class java.lang.Objectpublic boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf in interface com.vmware.vapi.bindings.Structurepublic <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo in interface com.vmware.vapi.bindings.Structurepublic void _setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames in interface com.vmware.vapi.bindings.StaticStructurepublic static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType instance representing the static bindings
type for this Structure.public java.lang.String _getCanonicalName()
_getCanonicalName in interface com.vmware.vapi.bindings.Structurepublic static java.lang.String _getCanonicalTypeName()
_getCanonicalName().public static ALBHealthMonitorHttp _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue - the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructTypepublic static ALBHealthMonitorHttp _newInstance2(com.vmware.vapi.data.StructValue structValue)