public class PartsStub extends com.vmware.vapi.internal.bindings.Stub implements Parts
Parts
API service.
WARNING: Internal class, subject to change in future versions.
PartsTypes.LocalizableMessage, PartsTypes.PartapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
PartsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
PartsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
long |
get(java.lang.String id)
Gets the size (in MB) of the part.
|
void |
get(java.lang.String id,
AsyncCallback<java.lang.Long> asyncCallback)
Gets the size (in MB) of the part.
|
void |
get(java.lang.String id,
AsyncCallback<java.lang.Long> asyncCallback,
InvocationConfig invocationConfig)
Gets the size (in MB) of the part.
|
long |
get(java.lang.String id,
InvocationConfig invocationConfig)
Gets the size (in MB) of the part.
|
java.util.List<PartsTypes.Part> |
list()
Gets a list of the backup parts.
|
void |
list(AsyncCallback<java.util.List<PartsTypes.Part>> asyncCallback)
Gets a list of the backup parts.
|
void |
list(AsyncCallback<java.util.List<PartsTypes.Part>> asyncCallback,
InvocationConfig invocationConfig)
Gets a list of the backup parts.
|
java.util.List<PartsTypes.Part> |
list(InvocationConfig invocationConfig)
Gets a list of the backup parts.
|
public PartsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public PartsStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<PartsTypes.Part> list()
PartsSynchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.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<java.util.List<PartsTypes.Part>> asyncCallback)
PartsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information about each of the backup parts.
Operation Errors:
Error - if any error occurs during the execution of the operation.
public void list(AsyncCallback<java.util.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.
Invocation Result:
Information about each of the backup parts.
Operation Errors:
Error - if any error occurs during the execution of the operation.
public long get(java.lang.String id)
PartsSynchronous method overload. Result of the invocation will be reported as a method return value.
public long get(java.lang.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(java.lang.String id,
AsyncCallback<java.lang.Long> asyncCallback)
PartsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
long Size of the part in megabytes.
Operation Errors:
Error - if any error occurs during the execution of the operation.
public void get(java.lang.String id,
AsyncCallback<java.lang.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.
Invocation Result:
long Size of the part in megabytes.
Operation Errors:
Error - if any error occurs during the execution of the operation.
get in interface Partsid - Identifier of the part.
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.