public class HealthCheckSettingsStub extends com.vmware.vapi.internal.bindings.Stub implements HealthCheckSettings
HealthCheckSettings
API service.
WARNING: Internal class, subject to change in future versions.
HealthCheckSettingsTypes.SettingSpec, HealthCheckSettingsTypes.UpdateSpec
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
HealthCheckSettingsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
HealthCheckSettingsStub(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 |
---|---|
HealthCheckSettingsTypes.SettingSpec |
get()
Get health settings for vCenter Server.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<HealthCheckSettingsTypes.SettingSpec> asyncCallback)
Get health settings for vCenter Server.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<HealthCheckSettingsTypes.SettingSpec> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get health settings for vCenter Server.
|
HealthCheckSettingsTypes.SettingSpec |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get health settings for vCenter Server.
|
void |
update(HealthCheckSettingsTypes.UpdateSpec healthSettings)
Set health settings based on provided healthSpec.
|
void |
update(HealthCheckSettingsTypes.UpdateSpec healthSettings,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Set health settings based on provided healthSpec.
|
void |
update(HealthCheckSettingsTypes.UpdateSpec healthSettings,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set health settings based on provided healthSpec.
|
void |
update(HealthCheckSettingsTypes.UpdateSpec healthSettings,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set health settings based on provided healthSpec.
|
public HealthCheckSettingsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public HealthCheckSettingsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public HealthCheckSettingsTypes.SettingSpec get()
HealthCheckSettings
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface HealthCheckSettings
public HealthCheckSettingsTypes.SettingSpec get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
HealthCheckSettings
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 HealthCheckSettings
invocationConfig
- Configuration for the method invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<HealthCheckSettingsTypes.SettingSpec> asyncCallback)
HealthCheckSettings
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
health settings.
Operation Errors:
Error
- Generic error
get
in interface HealthCheckSettings
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<HealthCheckSettingsTypes.SettingSpec> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
HealthCheckSettings
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:
health settings.
Operation Errors:
Error
- Generic error
get
in interface HealthCheckSettings
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void update(HealthCheckSettingsTypes.UpdateSpec healthSettings)
HealthCheckSettings
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface HealthCheckSettings
public void update(HealthCheckSettingsTypes.UpdateSpec healthSettings, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
HealthCheckSettings
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 HealthCheckSettings
invocationConfig
- Configuration for the method invocation.public void update(HealthCheckSettingsTypes.UpdateSpec healthSettings, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
HealthCheckSettings
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error.
InvalidArgument
-
update
in interface HealthCheckSettings
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(HealthCheckSettingsTypes.UpdateSpec healthSettings, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
HealthCheckSettings
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:
Error
- Generic error.
InvalidArgument
-
update
in interface HealthCheckSettings
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.