public class ConfigCurrentStub extends com.vmware.vapi.internal.bindings.Stub implements ConfigCurrent
ConfigCurrent
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ConfigCurrentStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ConfigCurrentStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
DesiredState |
get()
Returns the current state of the vCenter.
|
void |
get(AsyncCallback<DesiredState> asyncCallback)
Returns the current state of the vCenter.
|
void |
get(AsyncCallback<DesiredState> asyncCallback,
InvocationConfig invocationConfig)
Returns the current state of the vCenter.
|
DesiredState |
get(InvocationConfig invocationConfig)
Returns the current state of the vCenter.
|
public ConfigCurrentStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ConfigCurrentStub(ApiProvider apiProvider, StubConfigurationBase config)
public DesiredState get()
ConfigCurrentSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface ConfigCurrentpublic DesiredState get(InvocationConfig invocationConfig)
ConfigCurrentSynchronous 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 ConfigCurrentinvocationConfig - Configuration for the method invocation.public void get(AsyncCallback<DesiredState> asyncCallback)
ConfigCurrentAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
get in interface ConfigCurrentasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<DesiredState> asyncCallback, InvocationConfig invocationConfig)
ConfigCurrentAsynchronous 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 - If there is unknown internal error. The accompanying error message will give
more details about the failure.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
get in interface ConfigCurrentasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.