Class ReconcileStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.search.ReconcileStub
-
- All Implemented Interfaces:
Reconcile
,ReconcileTypes
,com.vmware.vapi.bindings.Service
public class ReconcileStub extends com.vmware.vapi.internal.bindings.Stub implements Reconcile
Remote stub implementation of theReconcile
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.search.ReconcileTypes
_VAPI_SERVICE_ID, CREATE_ACTION_COMPLETE_REINDEXING, CREATE_ACTION_OPENSEARCH_RESTORE, CREATE_ACTION_PRODUCT_RESTORE, CREATE_ACTION_PRODUCT_UPGRADE, CREATE_ACTION_REBALANCE
-
-
Constructor Summary
Constructors Constructor Description ReconcileStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
ReconcileStub(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.Boolean override, java.lang.String scope)
This API will sync the data in search index based on the use case like upgrade, restore, etc.void
create(java.lang.String action, java.lang.Boolean override, java.lang.String scope, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
This API will sync the data in search index based on the use case like upgrade, restore, etc.void
create(java.lang.String action, java.lang.Boolean override, java.lang.String scope, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API will sync the data in search index based on the use case like upgrade, restore, etc.void
create(java.lang.String action, java.lang.Boolean override, java.lang.String scope, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API will sync the data in search index based on the use case like upgrade, restore, etc.
-
-
-
Constructor Detail
-
ReconcileStub
public ReconcileStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
ReconcileStub
public ReconcileStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
create
public void create(java.lang.String action, java.lang.Boolean override, java.lang.String scope)
Description copied from interface:Reconcile
This API will sync the data in search index based on the use case like upgrade, restore, etc.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
create
public void create(java.lang.String action, java.lang.Boolean override, java.lang.String scope, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Reconcile
This API will sync the data in search index based on the use case like upgrade, restore, etc.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
create
public void create(java.lang.String action, java.lang.Boolean override, java.lang.String scope, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:Reconcile
This API will sync the data in search index based on the use case like upgrade, restore, etc.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
-
create
public void create(java.lang.String action, java.lang.Boolean override, java.lang.String scope, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Reconcile
This API will sync the data in search index based on the use case like upgrade, restore, etc.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 interfaceReconcile
- Parameters:
action
- Reconciliation use case (required)override
- Override flag (optional, default to true)scope
- Re-indexing scope (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-