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()
ConfigCurrent
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ConfigCurrent
public DesiredState get(InvocationConfig invocationConfig)
ConfigCurrent
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 ConfigCurrent
invocationConfig
- Configuration for the method invocation.public void get(AsyncCallback<DesiredState> asyncCallback)
ConfigCurrent
Asynchronous 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 ConfigCurrent
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<DesiredState> asyncCallback, InvocationConfig invocationConfig)
ConfigCurrent
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
- 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 ConfigCurrent
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.