public class ImportStub extends com.vmware.vapi.internal.bindings.Stub implements Import
Import
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ImportStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ImportStub(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 |
---|---|
ImportTask |
cancel()
This operation cancels an import task.
|
void |
cancel(com.vmware.vapi.bindings.client.AsyncCallback<ImportTask> asyncCallback)
This operation cancels an import task.
|
void |
cancel(com.vmware.vapi.bindings.client.AsyncCallback<ImportTask> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This operation cancels an import task.
|
ImportTask |
cancel(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This operation cancels an import task.
|
ImportTask |
get()
Get the information of the latest import task.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<ImportTask> asyncCallback)
Get the information of the latest import task.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<ImportTask> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the information of the latest import task.
|
ImportTask |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the information of the latest import task.
|
public ImportStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ImportStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ImportTask cancel()
Import
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ImportTask cancel(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Import
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 cancel(com.vmware.vapi.bindings.client.AsyncCallback<ImportTask> asyncCallback)
Import
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.ImportTask
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void cancel(com.vmware.vapi.bindings.client.AsyncCallback<ImportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Import
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:
com.vmware.nsx_policy.model.ImportTask
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public ImportTask get()
Import
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ImportTask get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Import
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 get(com.vmware.vapi.bindings.client.AsyncCallback<ImportTask> asyncCallback)
Import
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.ImportTask
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(com.vmware.vapi.bindings.client.AsyncCallback<ImportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Import
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:
com.vmware.nsx_policy.model.ImportTask
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found