public class StagedStub extends com.vmware.vapi.internal.bindings.Stub implements Staged
Staged
API service.
WARNING: Internal class, subject to change in future versions.
StagedTypes.Info
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
StagedStub(ApiProvider apiProvider,
StubConfigurationBase config) |
StagedStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Deletes the staged update.
|
void |
delete(AsyncCallback<java.lang.Void> asyncCallback)
Deletes the staged update.
|
void |
delete(AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Deletes the staged update.
|
void |
delete(InvocationConfig invocationConfig)
Deletes the staged update.
|
StagedTypes.Info |
get()
Gets the current status of the staged update.
|
void |
get(AsyncCallback<StagedTypes.Info> asyncCallback)
Gets the current status of the staged update.
|
void |
get(AsyncCallback<StagedTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Gets the current status of the staged update.
|
StagedTypes.Info |
get(InvocationConfig invocationConfig)
Gets the current status of the staged update.
|
public StagedStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public StagedStub(ApiProvider apiProvider, StubConfigurationBase config)
public StagedTypes.Info get()
Staged
Synchronous method overload. Result of the invocation will be reported as a method return value.
public StagedTypes.Info get(InvocationConfig invocationConfig)
Staged
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(AsyncCallback<StagedTypes.Info> asyncCallback)
Staged
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Info structure with information about staged update
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotAllowedInCurrentState
- if nothing is staged
public void get(AsyncCallback<StagedTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Staged
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:
Info structure with information about staged update
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
NotAllowedInCurrentState
- if nothing is staged
public void delete()
Staged
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(InvocationConfig invocationConfig)
Staged
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 delete(AsyncCallback<java.lang.Void> asyncCallback)
Staged
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation
public void delete(AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Staged
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- Generic error
Unauthenticated
- session is not authenticated
Unauthorized
- session is not authorized to perform this operation