public class EventsStub extends com.vmware.vapi.internal.bindings.Stub implements Events
Events
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
EventsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
EventsStub(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 |
|---|---|
MonitoringEvent |
get(java.lang.String eventId)
Returns event associated with event-id.
|
void |
get(java.lang.String eventId,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback)
Returns event associated with event-id.
|
void |
get(java.lang.String eventId,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns event associated with event-id.
|
MonitoringEvent |
get(java.lang.String eventId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns event associated with event-id.
|
EventListResult |
list()
Returns a list of all Events defined in NSX.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<EventListResult> asyncCallback)
Returns a list of all Events defined in NSX.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<EventListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns a list of all Events defined in NSX.
|
EventListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns a list of all Events defined in NSX.
|
MonitoringEvent |
setdefault(java.lang.String eventId)
Reset all user configurable values for event identified by event-id to factory
defaults.
|
void |
setdefault(java.lang.String eventId,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback)
Reset all user configurable values for event identified by event-id to factory
defaults.
|
void |
setdefault(java.lang.String eventId,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Reset all user configurable values for event identified by event-id to factory
defaults.
|
MonitoringEvent |
setdefault(java.lang.String eventId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Reset all user configurable values for event identified by event-id to factory
defaults.
|
MonitoringEvent |
update(java.lang.String eventId,
MonitoringEvent monitoringEvent)
Update event identified by event-id.
|
void |
update(java.lang.String eventId,
MonitoringEvent monitoringEvent,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback)
Update event identified by event-id.
|
void |
update(java.lang.String eventId,
MonitoringEvent monitoringEvent,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update event identified by event-id.
|
MonitoringEvent |
update(java.lang.String eventId,
MonitoringEvent monitoringEvent,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update event identified by event-id.
|
public EventsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public EventsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public MonitoringEvent get(java.lang.String eventId)
EventsSynchronous method overload. Result of the invocation will be reported as a method return value.
public MonitoringEvent get(java.lang.String eventId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
EventsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void get(java.lang.String eventId,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback)
EventsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.MonitoringEvent
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void get(java.lang.String eventId,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
EventsAsynchronous 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.MonitoringEvent
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public EventListResult list()
EventsSynchronous method overload. Result of the invocation will be reported as a method return value.
public EventListResult list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
EventsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void list(com.vmware.vapi.bindings.client.AsyncCallback<EventListResult> asyncCallback)
EventsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.EventListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void list(com.vmware.vapi.bindings.client.AsyncCallback<EventListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
EventsAsynchronous 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.EventListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public MonitoringEvent setdefault(java.lang.String eventId)
EventsSynchronous method overload. Result of the invocation will be reported as a method return value.
setdefault in interface EventseventId - (required)public MonitoringEvent setdefault(java.lang.String eventId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
EventsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
setdefault in interface EventseventId - (required)invocationConfig - Configuration for the method invocation.public void setdefault(java.lang.String eventId,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback)
EventsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.MonitoringEvent
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
setdefault in interface EventseventId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void setdefault(java.lang.String eventId,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
EventsAsynchronous 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.MonitoringEvent
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
setdefault in interface EventseventId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public MonitoringEvent update(java.lang.String eventId, MonitoringEvent monitoringEvent)
EventsSynchronous method overload. Result of the invocation will be reported as a method return value.
public MonitoringEvent update(java.lang.String eventId, MonitoringEvent monitoringEvent, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
EventsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void update(java.lang.String eventId,
MonitoringEvent monitoringEvent,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback)
EventsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.MonitoringEvent
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void update(java.lang.String eventId,
MonitoringEvent monitoringEvent,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
EventsAsynchronous 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.MonitoringEvent
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found