public class HealthStub extends com.vmware.vapi.internal.bindings.Stub implements Health
Health
API service.
WARNING: Internal class, subject to change in future versions.
Constructor and Description |
---|
HealthStub(ApiProvider apiProvider,
StubConfigurationBase config) |
HealthStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Notification> |
messages(java.lang.String item)
Get health messages.
|
void |
messages(java.lang.String item,
AsyncCallback<java.util.List<Notification>> asyncCallback)
Get health messages.
|
void |
messages(java.lang.String item,
AsyncCallback<java.util.List<Notification>> asyncCallback,
InvocationConfig invocationConfig)
Get health messages.
|
java.util.List<Notification> |
messages(java.lang.String item,
InvocationConfig invocationConfig)
Get health messages.
|
public HealthStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public HealthStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<Notification> messages(java.lang.String item)
Health
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<Notification> messages(java.lang.String item, InvocationConfig invocationConfig)
Health
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 messages(java.lang.String item, AsyncCallback<java.util.List<Notification>> asyncCallback)
Health
public void messages(java.lang.String item, AsyncCallback<java.util.List<Notification>> asyncCallback, InvocationConfig invocationConfig)
Health
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
List of the health messages
Operation Errors:
NotFound
- Unknown health item
Error
- Generic error
messages
in interface Health
item
- ID of the data item
The parameter must be an identifier for the resource type: com.vmware.appliance.health
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.