public class RestoreStub extends com.vmware.vapi.internal.bindings.Stub implements Restore
Restore
API service.
WARNING: Internal class, subject to change in future versions.
RestoreTypes.LocalizableMessage, RestoreTypes.LocationType, RestoreTypes.Metadata, RestoreTypes.RestoreRequest
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
RestoreStub(ApiProvider apiProvider,
StubConfigurationBase config) |
RestoreStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
RestoreTypes.Metadata |
validate(RestoreTypes.RestoreRequest piece)
Get metadata before restore
|
void |
validate(RestoreTypes.RestoreRequest piece,
AsyncCallback<RestoreTypes.Metadata> asyncCallback)
Get metadata before restore
|
void |
validate(RestoreTypes.RestoreRequest piece,
AsyncCallback<RestoreTypes.Metadata> asyncCallback,
InvocationConfig invocationConfig)
Get metadata before restore
|
RestoreTypes.Metadata |
validate(RestoreTypes.RestoreRequest piece,
InvocationConfig invocationConfig)
Get metadata before restore
|
public RestoreStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public RestoreStub(ApiProvider apiProvider, StubConfigurationBase config)
public RestoreTypes.Metadata validate(RestoreTypes.RestoreRequest piece)
Restore
Synchronous method overload. Result of the invocation will be reported as a method return value.
public RestoreTypes.Metadata validate(RestoreTypes.RestoreRequest piece, InvocationConfig invocationConfig)
Restore
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 validate(RestoreTypes.RestoreRequest piece, AsyncCallback<RestoreTypes.Metadata> asyncCallback)
Restore
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Metadata Structure
Operation Errors:
Error
- Generic error
public void validate(RestoreTypes.RestoreRequest piece, AsyncCallback<RestoreTypes.Metadata> asyncCallback, InvocationConfig invocationConfig)
Restore
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:
Metadata Structure
Operation Errors:
Error
- Generic error