Class BatchServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.anthropic.services.async.beta.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<BetaMessageBatch>create(BatchCreateParams params, RequestOptions requestOptions)CompletableFuture<BetaMessageBatch>retrieve(BatchRetrieveParams params, RequestOptions requestOptions)CompletableFuture<BatchListPageAsync>list(BatchListParams params, RequestOptions requestOptions)CompletableFuture<BetaDeletedMessageBatch>delete(BatchDeleteParams params, RequestOptions requestOptions)CompletableFuture<BetaMessageBatch>cancel(BatchCancelParams params, RequestOptions requestOptions)AsyncStreamResponse<BetaMessageBatchIndividualResponse>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<BetaMessageBatch> create(BatchCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<BetaMessageBatch> retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<BatchListPageAsync> list(BatchListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<BetaDeletedMessageBatch> delete(BatchDeleteParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<BetaMessageBatch> cancel(BatchCancelParams params, RequestOptions requestOptions)
-
resultsStreaming
AsyncStreamResponse<BetaMessageBatchIndividualResponse> resultsStreaming(BatchResultsParams params, RequestOptions requestOptions)
-
-
-
-