Class FullSyncActionStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.FullSyncActionStub
-
- All Implemented Interfaces:
FullSyncAction
,FullSyncActionTypes
,com.vmware.vapi.bindings.Service
public class FullSyncActionStub extends com.vmware.vapi.internal.bindings.Stub implements FullSyncAction
Remote stub implementation of theFullSyncAction
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.infra.FullSyncActionTypes
_VAPI_SERVICE_ID, CREATE_ACTION_ABORT_CURRENT_SYNC, CREATE_ACTION_PURGE_HISTORY, CREATE_ACTION_REQUEST_FULL_SYNC, CREATE_ACTION_REQUEST_NOTIFICATIONS_FULL_SYNC, CREATE_SYNC_TYPE_SYNC
-
-
Constructor Summary
Constructors Constructor Description FullSyncActionStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
FullSyncActionStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(java.lang.String action, java.lang.String site, java.lang.String syncType)
Performs realized object actions specified in the action.void
create(java.lang.String action, java.lang.String site, java.lang.String syncType, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Performs realized object actions specified in the action.void
create(java.lang.String action, java.lang.String site, java.lang.String syncType, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Performs realized object actions specified in the action.void
create(java.lang.String action, java.lang.String site, java.lang.String syncType, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Performs realized object actions specified in the action.
-
-
-
Constructor Detail
-
FullSyncActionStub
public FullSyncActionStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
FullSyncActionStub
public FullSyncActionStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
create
public void create(java.lang.String action, java.lang.String site, java.lang.String syncType)
Description copied from interface:FullSyncAction
Performs realized object actions specified in the action.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
create
in interfaceFullSyncAction
- Parameters:
action
- (required)site
- site id (optional)syncType
- Type of full sync being requested (optional)
-
create
public void create(java.lang.String action, java.lang.String site, java.lang.String syncType, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:FullSyncAction
Performs realized object actions specified in the action.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
create
in interfaceFullSyncAction
- Parameters:
action
- (required)site
- site id (optional)syncType
- Type of full sync being requested (optional)invocationConfig
- Configuration for the method invocation.
-
create
public void create(java.lang.String action, java.lang.String site, java.lang.String syncType, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:FullSyncAction
Performs realized object actions specified in the action.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
create
in interfaceFullSyncAction
- Parameters:
action
- (required)site
- site id (optional)syncType
- Type of full sync being requested (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
create
public void create(java.lang.String action, java.lang.String site, java.lang.String syncType, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:FullSyncAction
Performs realized object actions specified in the action.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
create
in interfaceFullSyncAction
- Parameters:
action
- (required)site
- site id (optional)syncType
- Type of full sync being requested (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-