Class BatchServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.anthropic.services.async.messages.BatchServiceAsync
public final class BatchServiceAsyncImpl implements BatchServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description BatchServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. CompletableFuture<MessageBatch>create(BatchCreateParams params, RequestOptions requestOptions)CompletableFuture<MessageBatch>retrieve(BatchRetrieveParams params, RequestOptions requestOptions)CompletableFuture<BatchListPageAsync>list(BatchListParams params, RequestOptions requestOptions)CompletableFuture<DeletedMessageBatch>delete(BatchDeleteParams params, RequestOptions requestOptions)CompletableFuture<MessageBatch>cancel(BatchCancelParams params, RequestOptions requestOptions)AsyncStreamResponse<MessageBatchIndividualResponse>resultsStreaming(BatchResultsParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
BatchServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<MessageBatch> create(BatchCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<MessageBatch> retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<BatchListPageAsync> list(BatchListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<DeletedMessageBatch> delete(BatchDeleteParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<MessageBatch> cancel(BatchCancelParams params, RequestOptions requestOptions)
-
resultsStreaming
AsyncStreamResponse<MessageBatchIndividualResponse> resultsStreaming(BatchResultsParams params, RequestOptions requestOptions)
-
-
-
-