public class ErrorResolverStub extends com.vmware.vapi.internal.bindings.Stub implements ErrorResolver
ErrorResolver
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ErrorResolverStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ErrorResolverStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
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
|
public ErrorResolverStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ErrorResolverStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ErrorResolverInfo get(java.lang.String errorId)
ErrorResolver
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ErrorResolver
errorId
- (required)public ErrorResolverInfo get(java.lang.String errorId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ErrorResolver
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface ErrorResolver
errorId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String errorId, com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfo> asyncCallback)
ErrorResolver
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
get
in interface ErrorResolver
errorId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String errorId, com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfo> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ErrorResolver
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
get
in interface ErrorResolver
errorId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ErrorResolverInfoList list()
ErrorResolver
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ErrorResolver
public ErrorResolverInfoList list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ErrorResolver
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface ErrorResolver
invocationConfig
- Configuration for the method invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfoList> asyncCallback)
ErrorResolver
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
list
in interface ErrorResolver
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfoList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ErrorResolver
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
list
in interface ErrorResolver
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void resolveerror(ErrorResolverMetadataList errorResolverMetadataList)
ErrorResolver
Synchronous method overload. Result of the invocation will be reported as a method return value.
resolveerror
in interface ErrorResolver
errorResolverMetadataList
- (required)public void resolveerror(ErrorResolverMetadataList errorResolverMetadataList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ErrorResolver
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
resolveerror
in interface ErrorResolver
errorResolverMetadataList
- (required)invocationConfig
- Configuration for the method invocation.public void resolveerror(ErrorResolverMetadataList errorResolverMetadataList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ErrorResolver
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
resolveerror
in interface ErrorResolver
errorResolverMetadataList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void resolveerror(ErrorResolverMetadataList errorResolverMetadataList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ErrorResolver
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
resolveerror
in interface ErrorResolver
errorResolverMetadataList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.