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()
Parts
Synchronous method overload. Result of the invocation will be reported as a method return value.
public List<PartsTypes.Part> list(InvocationConfig invocationConfig)
Parts
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 list(AsyncCallback<List<PartsTypes.Part>> asyncCallback)
Parts
Asynchronous 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)
Parts
Asynchronous 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)
Parts
Synchronous method overload. Result of the invocation will be reported as a method return value.
public long get(String id, InvocationConfig invocationConfig)
Parts
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(String id, AsyncCallback<Long> asyncCallback)
Parts
Asynchronous 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)
Parts
Asynchronous 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 Parts
id
- 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.