public class CancelStub extends com.vmware.vapi.internal.bindings.Stub implements Cancel
Cancel
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
CancelStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
CancelStub(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 |
|---|---|
void |
create()
This will cancel the on-going promotion and system will be restored to original
state as before promotion.
|
void |
create(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
This will cancel the on-going promotion and system will be restored to original
state as before promotion.
|
void |
create(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will cancel the on-going promotion and system will be restored to original
state as before promotion.
|
void |
create(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will cancel the on-going promotion and system will be restored to original
state as before promotion.
|
public CancelStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public CancelStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public void create()
CancelSynchronous method overload. Result of the invocation will be reported as a method return value.
public void create(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CancelSynchronous 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 create(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
CancelAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void create(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CancelAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found