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)
Events
Synchronous 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)
Events
Synchronous 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)
Events
Asynchronous 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)
Events
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.MonitoringEvent
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public EventListResult list()
Events
Synchronous method overload. Result of the invocation will be reported as a method return value.
public EventListResult list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Events
Synchronous 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)
Events
Asynchronous 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)
Events
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.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)
Events
Synchronous method overload. Result of the invocation will be reported as a method return value.
setdefault
in interface Events
eventId
- (required)public MonitoringEvent setdefault(java.lang.String eventId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Events
Synchronous 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 Events
eventId
- (required)invocationConfig
- Configuration for the method invocation.public void setdefault(java.lang.String eventId, com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback)
Events
Asynchronous 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 Events
eventId
- (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)
Events
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.MonitoringEvent
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
setdefault
in interface Events
eventId
- (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)
Events
Synchronous 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)
Events
Synchronous 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)
Events
Asynchronous 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)
Events
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.MonitoringEvent
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found