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)
NotificationWatchers
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface NotificationWatchers
notificationWatcher
- (required)public NotificationWatcher create(NotificationWatcher notificationWatcher, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchers
Synchronous 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 NotificationWatchers
notificationWatcher
- (required)invocationConfig
- Configuration for the method invocation.public void create(NotificationWatcher notificationWatcher, com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback)
NotificationWatchers
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
create
in interface NotificationWatchers
notificationWatcher
- (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)
NotificationWatchers
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
create
in interface NotificationWatchers
notificationWatcher
- (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)
NotificationWatchers
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface NotificationWatchers
watcherId
- (required)public void delete(java.lang.String watcherId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchers
Synchronous 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 NotificationWatchers
watcherId
- (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String watcherId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
NotificationWatchers
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
delete
in interface NotificationWatchers
watcherId
- (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)
NotificationWatchers
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
delete
in interface NotificationWatchers
watcherId
- (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)
NotificationWatchers
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface NotificationWatchers
watcherId
- (required)public NotificationWatcher get(java.lang.String watcherId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchers
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 NotificationWatchers
watcherId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String watcherId, com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcher> asyncCallback)
NotificationWatchers
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
get
in interface NotificationWatchers
watcherId
- (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)
NotificationWatchers
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
get
in interface NotificationWatchers
watcherId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public NotificationWatcherListResult list()
NotificationWatchers
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface NotificationWatchers
public NotificationWatcherListResult list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchers
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 NotificationWatchers
invocationConfig
- Configuration for the method invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<NotificationWatcherListResult> asyncCallback)
NotificationWatchers
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
list
in interface NotificationWatchers
asyncCallback
- 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)
NotificationWatchers
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
list
in interface NotificationWatchers
asyncCallback
- 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)
NotificationWatchers
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface NotificationWatchers
watcherId
- (required)notificationWatcher
- (required)public NotificationWatcher update(java.lang.String watcherId, NotificationWatcher notificationWatcher, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NotificationWatchers
Synchronous 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 NotificationWatchers
watcherId
- (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)
NotificationWatchers
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
update
in interface NotificationWatchers
watcherId
- (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)
NotificationWatchers
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
update
in interface NotificationWatchers
watcherId
- (required)notificationWatcher
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.