Package com.vmware.nsx_policy.model
Class LdapProbeError
- java.lang.Object
-
- com.vmware.nsx_policy.model.LdapProbeError
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure
,com.vmware.vapi.bindings.Structure
,java.io.Serializable
public final class LdapProbeError extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Detail about one error encountered during a probe.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LdapProbeError.Builder
Builder class forLdapProbeError
.
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description LdapProbeError()
Default constructor.protected
LdapProbeError(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
Method Summary
-
-
-
Field Detail
-
ERROR_TYPE_BASE_DN_NOT_FOUND
public static final java.lang.String ERROR_TYPE_BASE_DN_NOT_FOUND
- See Also:
- Constant Field Values
-
ERROR_TYPE_BIND_DN_AND_PASSWORD_REQUIRED
public static final java.lang.String ERROR_TYPE_BIND_DN_AND_PASSWORD_REQUIRED
- See Also:
- Constant Field Values
-
ERROR_TYPE_BIND_DN_INVALID
public static final java.lang.String ERROR_TYPE_BIND_DN_INVALID
- See Also:
- Constant Field Values
-
ERROR_TYPE_CERTIFICATE_HOSTNAME_MISMATCH_ERROR
public static final java.lang.String ERROR_TYPE_CERTIFICATE_HOSTNAME_MISMATCH_ERROR
- See Also:
- Constant Field Values
-
ERROR_TYPE_CERTIFICATE_MISMATCH_ERROR
public static final java.lang.String ERROR_TYPE_CERTIFICATE_MISMATCH_ERROR
- See Also:
- Constant Field Values
-
ERROR_TYPE_CONNECTION_REFUSED
public static final java.lang.String ERROR_TYPE_CONNECTION_REFUSED
- See Also:
- Constant Field Values
-
ERROR_TYPE_CONNECTION_TIMEOUT
public static final java.lang.String ERROR_TYPE_CONNECTION_TIMEOUT
- See Also:
- Constant Field Values
-
ERROR_TYPE_GENERAL_ERROR
public static final java.lang.String ERROR_TYPE_GENERAL_ERROR
- See Also:
- Constant Field Values
-
ERROR_TYPE_INVALID_CONFIGURED_CERTIFICATE
public static final java.lang.String ERROR_TYPE_INVALID_CONFIGURED_CERTIFICATE
- See Also:
- Constant Field Values
-
ERROR_TYPE_INVALID_CREDENTIALS
public static final java.lang.String ERROR_TYPE_INVALID_CREDENTIALS
- See Also:
- Constant Field Values
-
ERROR_TYPE_SSL_HANDSHAKE_ERROR
public static final java.lang.String ERROR_TYPE_SSL_HANDSHAKE_ERROR
- See Also:
- Constant Field Values
-
ERROR_TYPE_STARTTLS_FAILED
public static final java.lang.String ERROR_TYPE_STARTTLS_FAILED
- See Also:
- Constant Field Values
-
ERROR_TYPE_UNKNOWN_HOST
public static final java.lang.String ERROR_TYPE_UNKNOWN_HOST
- See Also:
- Constant Field Values
-
ERROR_TYPE_NO_ROUTE_TO_HOST
public static final java.lang.String ERROR_TYPE_NO_ROUTE_TO_HOST
- See Also:
- Constant Field Values
-
ERROR_TYPE_BIND_EXCEPTION
public static final java.lang.String ERROR_TYPE_BIND_EXCEPTION
- See Also:
- Constant Field Values
-
ERROR_TYPE_PORT_UNREACHABLE
public static final java.lang.String ERROR_TYPE_PORT_UNREACHABLE
- See Also:
- Constant Field Values
-
ERROR_TYPE_BASE_DN_NOT_WITHIN_DOMAIN
public static final java.lang.String ERROR_TYPE_BASE_DN_NOT_WITHIN_DOMAIN
- See Also:
- Constant Field Values
-
ERROR_TYPE_LDAP_SERVER_DISABLED
public static final java.lang.String ERROR_TYPE_LDAP_SERVER_DISABLED
- See Also:
- Constant Field Values
-
__dynamicStructureFields
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
-
-
Method Detail
-
getErrorType
public java.lang.String getErrorType()
Possible values are:-
ERROR_TYPE_BASE_DN_NOT_FOUND
-
ERROR_TYPE_BIND_DN_AND_PASSWORD_REQUIRED
-
ERROR_TYPE_BIND_DN_INVALID
-
ERROR_TYPE_CERTIFICATE_HOSTNAME_MISMATCH_ERROR
-
ERROR_TYPE_CERTIFICATE_MISMATCH_ERROR
-
ERROR_TYPE_CONNECTION_REFUSED
-
ERROR_TYPE_CONNECTION_TIMEOUT
-
ERROR_TYPE_GENERAL_ERROR
-
ERROR_TYPE_INVALID_CONFIGURED_CERTIFICATE
-
ERROR_TYPE_INVALID_CREDENTIALS
-
ERROR_TYPE_SSL_HANDSHAKE_ERROR
-
ERROR_TYPE_STARTTLS_FAILED
-
ERROR_TYPE_UNKNOWN_HOST
-
ERROR_TYPE_NO_ROUTE_TO_HOST
-
ERROR_TYPE_BIND_EXCEPTION
-
ERROR_TYPE_PORT_UNREACHABLE
-
ERROR_TYPE_BASE_DN_NOT_WITHIN_DOMAIN
-
ERROR_TYPE_LDAP_SERVER_DISABLED
- Returns:
- The current value of the property.
-
-
setErrorType
public void setErrorType(java.lang.String errorType)
Possible values are:-
ERROR_TYPE_BASE_DN_NOT_FOUND
-
ERROR_TYPE_BIND_DN_AND_PASSWORD_REQUIRED
-
ERROR_TYPE_BIND_DN_INVALID
-
ERROR_TYPE_CERTIFICATE_HOSTNAME_MISMATCH_ERROR
-
ERROR_TYPE_CERTIFICATE_MISMATCH_ERROR
-
ERROR_TYPE_CONNECTION_REFUSED
-
ERROR_TYPE_CONNECTION_TIMEOUT
-
ERROR_TYPE_GENERAL_ERROR
-
ERROR_TYPE_INVALID_CONFIGURED_CERTIFICATE
-
ERROR_TYPE_INVALID_CREDENTIALS
-
ERROR_TYPE_SSL_HANDSHAKE_ERROR
-
ERROR_TYPE_STARTTLS_FAILED
-
ERROR_TYPE_UNKNOWN_HOST
-
ERROR_TYPE_NO_ROUTE_TO_HOST
-
ERROR_TYPE_BIND_EXCEPTION
-
ERROR_TYPE_PORT_UNREACHABLE
-
ERROR_TYPE_BASE_DN_NOT_WITHIN_DOMAIN
-
ERROR_TYPE_LDAP_SERVER_DISABLED
- Parameters:
errorType
- New value for the property.
-
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getType
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValue
in interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validate
in interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacecom.vmware.vapi.bindings.StaticStructure
- Overrides:
toString
in classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOf
in interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertTo
in interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
- Specified by:
_setDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNames
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getClassType
public static com.vmware.vapi.bindings.type.StructType _getClassType()
WARNING: Internal method, subject to change in future versions.- Returns:
StructType
instance representing the static bindings type for thisStructure
.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalName
in interfacecom.vmware.vapi.bindings.Structure
-
_getCanonicalTypeName
public static java.lang.String _getCanonicalTypeName()
Returns the canonical type name. See_getCanonicalName()
.- Returns:
- canonical type name
-
_newInstance
public static LdapProbeError _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.- Parameters:
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.- Returns:
- the static bindings
StructType
-
_newInstance2
public static LdapProbeError _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-