public interface NotificationWatchers extends com.vmware.vapi.bindings.Service, NotificationWatchersTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
NotificationWatcher |
create(NotificationWatcher notificationWatcher)
Add a new notification watcher.
|
void |
create(NotificationWatcher notificationWatcher,
com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback)
Add a new notification watcher.
|
void |
create(NotificationWatcher notificationWatcher,
com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Add a new notification watcher.
|
NotificationWatcher |
create(NotificationWatcher notificationWatcher,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Add a new notification watcher.
|
void |
delete(java.lang.String watcherId)
Delete notification watcher.
|
void |
delete(java.lang.String watcherId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete notification watcher.
|
void |
delete(java.lang.String watcherId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete notification watcher.
|
void |
delete(java.lang.String watcherId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete notification watcher.
|
NotificationWatcher |
get(java.lang.String watcherId)
Returns notification watcher by watcher id.
|
void |
get(java.lang.String watcherId,
com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback)
Returns notification watcher by watcher id.
|
void |
get(java.lang.String watcherId,
com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns notification watcher by watcher id.
|
NotificationWatcher |
get(java.lang.String watcherId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns notification watcher by watcher id.
|
NotificationWatcherListResult |
list()
Returns a list of registered notification watchers.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcherListResult> asyncCallback)
Returns a list of registered notification watchers.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcherListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns a list of registered notification watchers.
|
NotificationWatcherListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns a list of registered notification watchers.
|
NotificationWatcher |
update(java.lang.String watcherId,
NotificationWatcher notificationWatcher)
Update notification watcher.
|
void |
update(java.lang.String watcherId,
NotificationWatcher notificationWatcher,
com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback)
Update notification watcher.
|
void |
update(java.lang.String watcherId,
NotificationWatcher notificationWatcher,
com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update notification watcher.
|
NotificationWatcher |
update(java.lang.String watcherId,
NotificationWatcher notificationWatcher,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update notification watcher.
|
NotificationWatcher create(NotificationWatcher notificationWatcher)
Synchronous method overload. Result of the invocation will be reported as a method return value.
notificationWatcher
- (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 FoundNotificationWatcher create(NotificationWatcher notificationWatcher, 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.
notificationWatcher
- (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 create(NotificationWatcher notificationWatcher, com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NotificationWatcher
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
notificationWatcher
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(NotificationWatcher notificationWatcher, com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> 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.NotificationWatcher
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
notificationWatcher
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String watcherId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
watcherId
- (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 delete(java.lang.String watcherId, 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.
watcherId
- (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 delete(java.lang.String watcherId, 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
watcherId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String watcherId, 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
watcherId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.NotificationWatcher get(java.lang.String watcherId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
watcherId
- (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 FoundNotificationWatcher get(java.lang.String watcherId, 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.
watcherId
- (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 watcherId, com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NotificationWatcher
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
watcherId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String watcherId, com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> 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.NotificationWatcher
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
watcherId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.NotificationWatcherListResult 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 FoundNotificationWatcherListResult 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<NotificationWatcherListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NotificationWatcherListResult
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<NotificationWatcherListResult> 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.NotificationWatcherListResult
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.NotificationWatcher update(java.lang.String watcherId, NotificationWatcher notificationWatcher)
Synchronous method overload. Result of the invocation will be reported as a method return value.
watcherId
- (required)notificationWatcher
- (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 FoundNotificationWatcher update(java.lang.String watcherId, NotificationWatcher notificationWatcher, 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.
watcherId
- (required)notificationWatcher
- (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 update(java.lang.String watcherId, NotificationWatcher notificationWatcher, com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NotificationWatcher
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
watcherId
- (required)notificationWatcher
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String watcherId, NotificationWatcher notificationWatcher, com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> 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.NotificationWatcher
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
watcherId
- (required)notificationWatcher
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.