Interface Batch
-
- All Superinterfaces:
BatchTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
BatchStub
public interface Batch extends com.vmware.vapi.bindings.Service, BatchTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.BatchTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description BatchResponse
create(BatchRequest batchRequest, java.lang.Boolean atomic)
Deprecated.void
create(BatchRequest batchRequest, java.lang.Boolean atomic, com.vmware.vapi.bindings.client.AsyncCallback<BatchResponse> asyncCallback)
Deprecated.void
create(BatchRequest batchRequest, java.lang.Boolean atomic, com.vmware.vapi.bindings.client.AsyncCallback<BatchResponse> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.BatchResponse
create(BatchRequest batchRequest, java.lang.Boolean atomic, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
-
-
-
Method Detail
-
create
@Deprecated BatchResponse create(BatchRequest batchRequest, java.lang.Boolean atomic)
Deprecated.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
batchRequest
- (required)atomic
- Ignored (transactional atomicity flag) (optional, default to false)- Returns:
- com.vmware.nsx_policy.model.BatchResponse
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
create
@Deprecated BatchResponse create(BatchRequest batchRequest, java.lang.Boolean atomic, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
batchRequest
- (required)atomic
- Ignored (transactional atomicity flag) (optional, default to false)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.BatchResponse
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
create
@Deprecated void create(BatchRequest batchRequest, java.lang.Boolean atomic, com.vmware.vapi.bindings.client.AsyncCallback<BatchResponse> asyncCallback)
Deprecated.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.BatchResponseOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
batchRequest
- (required)atomic
- Ignored (transactional atomicity flag) (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
create
@Deprecated void create(BatchRequest batchRequest, java.lang.Boolean atomic, com.vmware.vapi.bindings.client.AsyncCallback<BatchResponse> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.BatchResponseOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
batchRequest
- (required)atomic
- Ignored (transactional atomicity flag) (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-