public class PartsStub extends com.vmware.vapi.internal.bindings.Stub implements Parts
Parts
API service.
WARNING: Internal API, subject to change in future versions.
PartsTypes.LocalizableMessage, PartsTypes.Part| Constructor and Description |
|---|
PartsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
long |
get(String id)
Get size of the optional part
|
void |
get(String id,
AsyncCallback<Long> asyncCallback)
Get size of the optional part
|
void |
get(String id,
AsyncCallback<Long> asyncCallback,
InvocationConfig invocationConfig)
Get size of the optional part
|
long |
get(String id,
InvocationConfig invocationConfig)
Get size of the optional part
|
List<PartsTypes.Part> |
list()
Get a list of the backup parts
|
void |
list(AsyncCallback<List<PartsTypes.Part>> asyncCallback)
Get a list of the backup parts
|
void |
list(AsyncCallback<List<PartsTypes.Part>> asyncCallback,
InvocationConfig invocationConfig)
Get a list of the backup parts
|
List<PartsTypes.Part> |
list(InvocationConfig invocationConfig)
Get a list of the backup parts
|
public PartsStub(ApiProvider apiProvider, StubConfigurationBase config)
public List<PartsTypes.Part> list()
PartsSynchronous method overload. Result of the invocation will be reported as a method return value.
public List<PartsTypes.Part> list(InvocationConfig invocationConfig)
PartsSynchronous 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 list(AsyncCallback<List<PartsTypes.Part>> asyncCallback)
PartsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
list of parts
Operation Errors:
Error - Generic error
public void list(AsyncCallback<List<PartsTypes.Part>> asyncCallback, InvocationConfig invocationConfig)
PartsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
list of parts
Operation Errors:
Error - Generic error
public long get(String id)
PartsSynchronous method overload. Result of the invocation will be reported as a method return value.
public long get(String id, InvocationConfig invocationConfig)
PartsSynchronous 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(String id, AsyncCallback<Long> asyncCallback)
PartsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
int size
Operation Errors:
Error - Generic error
public void get(String id, AsyncCallback<Long> asyncCallback, InvocationConfig invocationConfig)
PartsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
int size
Operation Errors:
Error - Generic error
get in interface Partsid - part id
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.parts.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.Copyright © 2016. All Rights Reserved.