public class NotificationWatchersStub extends com.vmware.vapi.internal.bindings.Stub implements NotificationWatchers
NotificationWatchers
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
NotificationWatchersStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
NotificationWatchersStub(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 |
|---|---|
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.
|
public NotificationWatchersStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public NotificationWatchersStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public NotificationWatcher create(NotificationWatcher notificationWatcher)
NotificationWatchersSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface NotificationWatchersnotificationWatcher - (required)public NotificationWatcher create(NotificationWatcher notificationWatcher, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchersSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
create in interface NotificationWatchersnotificationWatcher - (required)invocationConfig - Configuration for the method invocation.public void create(NotificationWatcher notificationWatcher, com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback)
NotificationWatchersAsynchronous 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
create in interface NotificationWatchersnotificationWatcher - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(NotificationWatcher notificationWatcher, com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchersAsynchronous 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
create in interface NotificationWatchersnotificationWatcher - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String watcherId)
NotificationWatchersSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface NotificationWatcherswatcherId - (required)public void delete(java.lang.String watcherId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchersSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
delete in interface NotificationWatcherswatcherId - (required)invocationConfig - Configuration for the method invocation.public void delete(java.lang.String watcherId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
NotificationWatchersAsynchronous 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
delete in interface NotificationWatcherswatcherId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String watcherId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchersAsynchronous 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
delete in interface NotificationWatcherswatcherId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public NotificationWatcher get(java.lang.String watcherId)
NotificationWatchersSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface NotificationWatcherswatcherId - (required)public NotificationWatcher get(java.lang.String watcherId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchersSynchronous 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 NotificationWatcherswatcherId - (required)invocationConfig - Configuration for the method invocation.public void get(java.lang.String watcherId,
com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback)
NotificationWatchersAsynchronous 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
get in interface NotificationWatcherswatcherId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String watcherId,
com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchersAsynchronous 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
get in interface NotificationWatcherswatcherId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public NotificationWatcherListResult list()
NotificationWatchersSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface NotificationWatcherspublic NotificationWatcherListResult list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchersSynchronous 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 NotificationWatchersinvocationConfig - Configuration for the method invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcherListResult> asyncCallback)
NotificationWatchersAsynchronous 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
list in interface NotificationWatchersasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcherListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchersAsynchronous 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
list in interface NotificationWatchersasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public NotificationWatcher update(java.lang.String watcherId, NotificationWatcher notificationWatcher)
NotificationWatchersSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface NotificationWatcherswatcherId - (required)notificationWatcher - (required)public NotificationWatcher update(java.lang.String watcherId, NotificationWatcher notificationWatcher, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchersSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
update in interface NotificationWatcherswatcherId - (required)notificationWatcher - (required)invocationConfig - Configuration for the method invocation.public void update(java.lang.String watcherId,
NotificationWatcher notificationWatcher,
com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback)
NotificationWatchersAsynchronous 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
update in interface NotificationWatcherswatcherId - (required)notificationWatcher - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String watcherId,
NotificationWatcher notificationWatcher,
com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchersAsynchronous 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
update in interface NotificationWatcherswatcherId - (required)notificationWatcher - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.