Class BatchServiceImpl
-
- All Implemented Interfaces:
-
com.anthropic.services.blocking.messages.BatchService
public final class BatchServiceImpl implements BatchService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description BatchService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. MessageBatchcreate(BatchCreateParams params, RequestOptions requestOptions)MessageBatchretrieve(BatchRetrieveParams params, RequestOptions requestOptions)BatchListPagelist(BatchListParams params, RequestOptions requestOptions)DeletedMessageBatchdelete(BatchDeleteParams params, RequestOptions requestOptions)MessageBatchcancel(BatchCancelParams params, RequestOptions requestOptions)StreamResponse<MessageBatchIndividualResponse>resultsStreaming(BatchResultsParams params, RequestOptions requestOptions)-
Methods inherited from class com.anthropic.services.blocking.messages.BatchService
cancel, cancel, cancel, cancel, cancel, create, delete, delete, delete, delete, delete, list, list, list, resultsStreaming, resultsStreaming, resultsStreaming, resultsStreaming, resultsStreaming, retrieve, retrieve, retrieve, retrieve, retrieve -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
BatchService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
MessageBatch create(BatchCreateParams params, RequestOptions requestOptions)
-
retrieve
MessageBatch retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
-
list
BatchListPage list(BatchListParams params, RequestOptions requestOptions)
-
delete
DeletedMessageBatch delete(BatchDeleteParams params, RequestOptions requestOptions)
-
cancel
MessageBatch cancel(BatchCancelParams params, RequestOptions requestOptions)
-
resultsStreaming
StreamResponse<MessageBatchIndividualResponse> resultsStreaming(BatchResultsParams params, RequestOptions requestOptions)
-
-
-
-