public interface ErrorResolver extends com.vmware.vapi.bindings.Service, ErrorResolverTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
ErrorResolverInfo |
get(java.lang.String errorId)
Returns some metadata about the given error_id.
|
void |
get(java.lang.String errorId,
com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfo> asyncCallback)
Returns some metadata about the given error_id.
|
void |
get(java.lang.String errorId,
com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfo> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns some metadata about the given error_id.
|
ErrorResolverInfo |
get(java.lang.String errorId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns some metadata about the given error_id.
|
ErrorResolverInfoList |
list()
Returns a list of metadata for all the error resolvers registered.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfoList> asyncCallback)
Returns a list of metadata for all the error resolvers registered.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfoList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns a list of metadata for all the error resolvers registered.
|
ErrorResolverInfoList |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns a list of metadata for all the error resolvers registered.
|
void |
resolveerror(ErrorResolverMetadataList errorResolverMetadataList)
Invokes the corresponding error resolver for the given error(s) present in the
payload
|
void |
resolveerror(ErrorResolverMetadataList errorResolverMetadataList,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Invokes the corresponding error resolver for the given error(s) present in the
payload
|
void |
resolveerror(ErrorResolverMetadataList errorResolverMetadataList,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Invokes the corresponding error resolver for the given error(s) present in the
payload
|
void |
resolveerror(ErrorResolverMetadataList errorResolverMetadataList,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Invokes the corresponding error resolver for the given error(s) present in the
payload
|
ErrorResolverInfo get(java.lang.String errorId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
errorId
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundErrorResolverInfo get(java.lang.String errorId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
errorId
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid get(java.lang.String errorId, com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfo> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ErrorResolverInfo
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
errorId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String errorId, com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfo> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.ErrorResolverInfo
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
errorId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ErrorResolverInfoList list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundErrorResolverInfoList list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid list(com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfoList> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ErrorResolverInfoList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfoList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.ErrorResolverInfoList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void resolveerror(ErrorResolverMetadataList errorResolverMetadataList)
Synchronous method overload. Result of the invocation will be reported as a method return value.
errorResolverMetadataList
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid resolveerror(ErrorResolverMetadataList errorResolverMetadataList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
errorResolverMetadataList
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid resolveerror(ErrorResolverMetadataList errorResolverMetadataList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
errorResolverMetadataList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void resolveerror(ErrorResolverMetadataList errorResolverMetadataList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
errorResolverMetadataList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.