public interface Parts extends Service, PartsTypes
Parts
interface provides methods Provides list of parts optional for the
backupPartsTypes.LocalizableMessage, PartsTypes.Part
_VAPI_SERVICE_ID
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.
|
java.util.List<PartsTypes.Part> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- if any error occurs during the execution of the operation.java.util.List<PartsTypes.Part> list(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- if any error occurs during the execution of the operation.void list(AsyncCallback<java.util.List<PartsTypes.Part>> asyncCallback)
Asynchronous 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.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<PartsTypes.Part>> asyncCallback, InvocationConfig invocationConfig)
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:
Information about each of the backup parts.
Operation Errors:
Error
- if any error occurs during the execution of the operation.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.long get(java.lang.String id)
Synchronous method overload. Result of the invocation will be reported as a method return value.
id
- Identifier of the part.
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.parts
.Error
- if any error occurs during the execution of the operation.long get(java.lang.String id, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
id
- Identifier of the part.
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.parts
.invocationConfig
- Configuration for the method invocation.Error
- if any error occurs during the execution of the operation.void get(java.lang.String id, AsyncCallback<java.lang.Long> asyncCallback)
Asynchronous 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.
id
- 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.void get(java.lang.String id, AsyncCallback<java.lang.Long> asyncCallback, InvocationConfig invocationConfig)
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:
long Size of the part in megabytes.
Operation Errors:
Error
- if any error occurs during the execution of the operation.
id
- 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.